.page-home {
  --home-radius: 20px;
  --home-gap: 20px;
  --home-pad: 20px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  line-height: 1.75;
  overflow-x: hidden;
}

.page-home * {
  box-sizing: border-box;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  margin: 0;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.02em;
}

.page-home p {
  margin: 0;
}

.page-home ul {
  margin: 0;
}

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

.page-home .crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--mute);
  margin-bottom: 22px;
}

.page-home .crumbs a {
  color: var(--mute);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-home .crumbs a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.page-home .crumbs span[aria-current] {
  color: var(--paper);
}

.page-home .stage__no {
  font-family: var(--mono);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--cyan);
}

.page-home .stage__title {
  font-size: clamp(23px, 4.4vw, 34px);
}

.page-home .stage__lead {
  margin-top: 12px;
  max-width: 62ch;
  font-size: 16px;
  color: var(--mute);
}

.page-home .eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .shot__cap {
  z-index: 3;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
}

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

.home-hero {
  position: relative;
  padding: 28px 0 48px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(90% 70% at 88% 0%, rgba(43, 240, 196, .12), transparent 62%),
    radial-gradient(70% 60% at 0% 100%, rgba(255, 122, 31, .09), transparent 60%),
    var(--ink);
}

.home-hero__grid {
  display: grid;
  gap: 22px;
}

.axis__cap {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 10px;
}

.axis__list {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.axis__tick {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(18, 22, 26, .72);
}

.axis__no {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--mute);
}

.axis__tick.is-current {
  border-color: var(--orange);
  background: rgba(255, 122, 31, .14);
}

.axis__tick.is-current .axis__no {
  color: var(--orange);
}

.axis__note {
  display: none;
}

.home-hero__stage {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.home-hero__title {
  font-size: clamp(27px, 6.4vw, 46px);
  max-width: 24ch;
}

.home-hero__lead {
  max-width: 44ch;
  font-size: 16px;
  color: var(--mute);
}

.home-hero__numwrap {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.home-hero__num {
  font-family: var(--mono);
  font-size: clamp(86px, 21vw, 200px);
  font-weight: 800;
  line-height: .84;
  letter-spacing: -.07em;
  color: transparent;
  -webkit-text-stroke: 2px var(--cyan);
}

@supports not (-webkit-text-stroke: 1px red) {
  .home-hero__num {
    color: var(--cyan);
  }
}

.home-hero__numlabel {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .04em;
  color: var(--mute);
  padding-bottom: 10px;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-hero__shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  background: linear-gradient(160deg, var(--board), var(--ink));
}

.home-hero__shot img {
  width: 100%;
  opacity: .5;
  object-fit: cover;
}

.home-hero__shot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(10, 28, 23, .3) 55%, rgba(10, 28, 23, .7) 100%);
}

/* ---------- 规模带 ---------- */

.home-strip {
  background: var(--deck);
  border-bottom: 1px solid var(--line);
}

.home-strip__grid {
  display: grid;
  gap: 18px;
  padding: 26px 0;
}

.home-strip .stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 2px solid var(--line);
  padding-left: 14px;
}

.home-strip .stat__num {
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--cyan);
  line-height: 1.1;
}

.home-strip .stat__num--outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--paper);
}

@supports not (-webkit-text-stroke: 1px red) {
  .home-strip .stat__num--outline {
    color: var(--paper);
  }
}

.home-strip .stat__label {
  font-size: 13px;
  color: var(--mute);
}

/* ---------- 通用区块 ---------- */

.home-block {
  position: relative;
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
}

.home-block--board {
  background:
    repeating-linear-gradient(180deg, rgba(51, 70, 63, .16) 0 1px, transparent 1px 46px),
    var(--deck);
}

.home-head {
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}

.home-more {
  margin-top: 26px;
}

/* ---------- 四级联赛 ---------- */

.league-layout {
  display: grid;
  gap: 20px;
}

.league-shot {
  margin: 0;
  border-radius: var(--home-radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, var(--board), var(--ink));
}

.league-shot img {
  width: 100%;
  object-fit: cover;
}

.league-grid {
  display: grid;
  gap: 14px;
}

.league-slice {
  background: var(--deck);
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  padding: 18px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.league-slice:hover,
.league-slice:focus-within {
  border-color: var(--cyan);
  box-shadow: inset 0 0 0 2px rgba(255, 122, 31, .38);
}

.league-slice__num {
  font-family: var(--mono);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--paper);
  margin-top: 12px;
  line-height: 1.05;
}

.league-slice__num small {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--mute);
  margin-left: 6px;
}

.league-slice__meta {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--mute);
}

.league-more {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.league-more summary {
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--cyan);
}

.league-more summary::marker {
  color: var(--orange);
}

.league-more ul {
  margin-top: 8px;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--mute);
}

/* ---------- 走势 ---------- */

.trend-wrap {
  background: var(--deck);
  background-image: repeating-linear-gradient(0deg, rgba(51, 70, 63, .34) 0 1px, transparent 1px 44px);
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  padding: 20px 16px;
}

.trend {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 5px;
  align-items: end;
  height: 200px;
}

.trend__col {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  height: 100%;
}

.trend__val {
  font-family: var(--mono);
  font-size: 11px;
  text-align: center;
  color: var(--paper);
}

.trend__bar {
  height: var(--h, 30%);
  min-height: 10px;
  border-radius: 12px 12px 4px 4px;
  background: linear-gradient(180deg, var(--cyan), rgba(43, 240, 196, .1));
  transition: filter .2s ease;
}

.trend__col.is-key .trend__bar {
  background: linear-gradient(180deg, var(--orange), rgba(255, 122, 31, .12));
}

.trend__col:hover .trend__bar {
  filter: brightness(1.2);
}

.trend__lb {
  font-family: var(--mono);
  font-size: 11px;
  text-align: center;
  color: var(--mute);
}

.trend-notes {
  list-style: none;
  padding: 0;
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.trend-notes li {
  font-size: 14px;
  color: var(--mute);
  padding-left: 14px;
  border-left: 2px solid var(--line);
}

.trend-notes__k {
  font-family: var(--mono);
  color: var(--cyan);
  margin-right: 8px;
}

.trend-foot {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.trend-foot p {
  font-size: 15px;
  color: var(--paper);
  max-width: 46ch;
}

/* ---------- 对抗细节 ---------- */

.duel-layout {
  display: grid;
  gap: 20px;
}

.duel-panels {
  display: grid;
  gap: 14px;
}

.duel-panel {
  background: var(--board);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: 14px;
  padding: 18px;
  transition: border-color .2s ease, background .2s ease;
}

.duel-panel:hover {
  background: var(--deck);
  border-left-color: var(--orange);
}

.duel-panel__k {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--mute);
}

.duel-panel__v {
  font-family: var(--mono);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.04em;
  color: var(--paper);
  margin: 6px 0 8px;
}

.duel-panel__v small {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--mute);
  margin-left: 6px;
}

.duel-panel__d {
  font-size: 14px;
  color: var(--mute);
}

.duel-shot {
  margin: 0;
  border-radius: var(--home-radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, var(--deck), var(--ink));
}

.duel-shot img {
  width: 100%;
  object-fit: cover;
}

/* ---------- 热身赛对位 ---------- */

.fa-layout {
  display: grid;
  gap: 20px;
}

.fa-shot {
  margin: 0;
  border-radius: var(--home-radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, var(--board), var(--ink));
}

.fa-shot img {
  width: 100%;
  object-fit: cover;
}

.fa-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.fa-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fa-side__text {
  font-size: 15px;
  color: var(--mute);
}

/* ---------- 服务通道 ---------- */

.home-block--serve {
  border-bottom: 0;
}

.serve-grid {
  display: grid;
  gap: 14px;
}

.serve-card {
  background: var(--deck);
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  padding: 20px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.serve-card:hover {
  border-color: var(--cyan);
  box-shadow: inset 0 0 0 2px rgba(43, 240, 196, .28);
}

.serve-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.serve-card p {
  font-size: 14px;
  color: var(--mute);
}

.serve-card a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(43, 240, 196, .45);
}

.serve-card a:hover {
  border-bottom-color: var(--orange);
  color: var(--orange);
}

.serve-contact {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px dashed var(--line);
  border-radius: var(--home-radius);
  background: var(--board);
}

.serve-contact__k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
}

.serve-contact__v {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--paper);
  word-break: break-all;
}

.serve-contact__cta {
  justify-self: start;
}

.home-backtop {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 平板与桌面 ---------- */

@media (min-width: 700px) {
  .page-home {
    --home-pad: 32px;
  }

  .home-hero {
    padding: 40px 0 64px;
  }

  .home-strip__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 32px 0;
  }

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

  .home-head {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px 22px;
    align-items: start;
  }

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

  .serve-contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .serve-contact__cta {
    justify-self: end;
  }
}

@media (min-width: 1024px) {
  .page-home {
    --home-pad: 40px;
  }

  .home-hero__grid {
    grid-template-columns: 92px minmax(0, 1fr);
    column-gap: 30px;
    align-items: start;
  }

  .axis {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .axis__list {
    flex-direction: column;
    gap: 0;
    overflow: visible;
  }

  .axis__tick {
    padding: 9px 12px;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    background: transparent;
  }

  .axis__tick.is-current {
    border-left-color: var(--orange);
    background: linear-gradient(90deg, rgba(255, 122, 31, .16), transparent);
  }

  .axis__tick:hover,
  .axis__tick:focus-within {
    border-left-color: var(--cyan);
    background: rgba(43, 240, 196, .08);
  }

  .axis__note {
    display: block;
    position: absolute;
    left: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%);
    width: 210px;
    padding: 8px 11px;
    font-size: 12px;
    line-height: 1.55;
    color: var(--paper);
    background: var(--deck);
    border: 1px solid var(--line);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
    z-index: 8;
    pointer-events: none;
  }

  .axis__tick:hover .axis__note,
  .axis__tick:focus-within .axis__note {
    opacity: 1;
    visibility: visible;
  }

  .home-hero__stage {
    grid-column: 2;
    grid-row: 1;
    z-index: 2;
  }

  .home-hero__shot {
    grid-column: 2;
    grid-row: 1;
    z-index: 1;
    justify-self: end;
    width: min(560px, 60%);
    align-self: stretch;
  }

  .home-hero__shot img {
    height: 100%;
  }

  .trend {
    height: 260px;
  }

  .league-layout {
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    align-items: start;
  }

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

  .duel-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    align-items: start;
  }

  .duel-panels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fa-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
    align-items: start;
  }

  .serve-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .serve-contact {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  }
}

@media (min-width: 1280px) {
  .home-hero__title {
    font-size: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home * {
    transition: none !important;
  }
}

.page-home {
  --h: 1rem;
}
