.page-home {
  --home-cut-lg: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
  --home-cut-md: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  display: block;
  overflow-x: hidden;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 68px 68px;
  pointer-events: none;
}
.page-home .home-hero__slash {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40%;
  right: -12%;
  z-index: 0;
  background: linear-gradient(155deg, rgba(30, 111, 217, 0.55), rgba(11, 27, 51, 0) 64%);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.page-home .home-hero__slash::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
}
.page-home .home-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(26px, 4vw, 46px);
  align-items: center;
  padding-block: clamp(42px, 8vw, 100px) clamp(40px, 7vw, 84px);
}
.page-home .home-crumbs {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.58);
}
.page-home .home-hero__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 106, 19, 0.42);
  border-radius: 4px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--orange-soft);
}
.page-home .home-hero__status .status-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(22, 194, 166, 0.18);
}
.page-home .home-hero__title {
  margin: 0;
  max-width: 15em;
  font-size: clamp(29px, 5.6vw, 54px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.page-home .home-hero__lede {
  margin: 18px 0 0;
  max-width: 32em;
  font-size: clamp(15px, 1.4vw, 16.5px);
  line-height: 1.88;
  color: rgba(255, 255, 255, 0.82);
}
.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.page-home .home-hero__media {
  margin: 0;
  position: relative;
}
.page-home .home-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  clip-path: var(--home-cut-lg);
}
.page-home .home-hero__cap {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
}
@media (min-width: 900px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  }
}

/* ---------- 数据带 ---------- */
.page-home .home-band {
  background: linear-gradient(100deg, var(--navy) 0%, var(--navy-2) 58%, #16406f 100%);
  color: var(--white);
  padding-block: clamp(24px, 3.6vw, 40px);
}
.page-home .home-band__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 32px);
}
.page-home .home-band__item {
  padding-left: 14px;
  border-left: 2px solid rgba(255, 106, 19, 0.55);
}
.page-home .home-band__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}
.page-home .home-band__unit {
  margin-left: 4px;
  font-size: 0.55em;
  color: var(--orange-soft);
}
.page-home .home-band__label {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.68);
}
@media (min-width: 760px) {
  .page-home .home-band__inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- 章节骨架 ---------- */
.page-home .home-layout {
  display: block;
}
.page-home .home-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--line-soft);
  -webkit-overflow-scrolling: touch;
}
.page-home .home-rail__item {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
  padding: 4px 2px;
  font-size: 13px;
  color: var(--gray);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.page-home .home-rail__item span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--blue);
}
.page-home .home-rail__item:hover {
  color: var(--ink);
  border-bottom-color: var(--orange);
}
.page-home .home-flow {
  display: grid;
  gap: clamp(22px, 3vw, 40px);
  padding-block: clamp(22px, 3vw, 40px) 0;
}
.page-home .home-flow .sec {
  padding: clamp(28px, 4vw, 52px) clamp(18px, 3vw, 34px);
}
@media (min-width: 1040px) {
  .page-home .home-layout {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    column-gap: clamp(20px, 3vw, 40px);
    align-items: start;
  }
  .page-home .home-rail {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    overflow: visible;
    padding: clamp(40px, 5vw, 56px) 0 0;
    border-bottom: 0;
    position: sticky;
    top: calc(var(--h-bar) + 24px);
  }
}

/* ---------- 章节标题 ---------- */
.page-home .sec-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(12px, 2vw, 22px);
  align-items: start;
  margin-bottom: clamp(20px, 3vw, 34px);
}
.page-home .sec-head__num {
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--orange);
}
.page-home .sec-head__title {
  margin: 0 0 10px;
  font-size: clamp(21px, 2.6vw, 28px);
  line-height: 1.32;
  letter-spacing: -0.01em;
}
.page-home .sec-head__desc {
  margin: 0;
  max-width: 34em;
  font-size: 15.5px;
  line-height: 1.88;
  color: var(--gray);
}

/* ---------- 标签与面板 ---------- */
.page-home .tabs {
  min-width: 0;
}
.page-home .tabs__list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
}
.page-home .tabs__btn {
  appearance: none;
  font: inherit;
  font-size: 14px;
  white-space: nowrap;
  min-height: 40px;
  padding: 9px 16px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  clip-path: var(--cut-sm);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.page-home .tabs__btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.page-home .tabs__btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.page-home .tabs__btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.page-home .tabs__panel {
  display: none;
}
.page-home .tabs__panel.is-active {
  display: block;
}

/* ---------- 赛程筛选台 ---------- */
.page-home .home-board .tabs__panel {
  background: var(--white);
  border: 1px solid var(--line-soft);
  clip-path: var(--home-cut-md);
}
.page-home .fx-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}
.page-home .fx-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 14px clamp(14px, 2.4vw, 22px);
  border-bottom: 1px solid var(--line-soft);
}
.page-home .fx-row:last-child {
  border-bottom: 0;
}
.page-home .fx-row__time {
  min-width: 74px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
}
.page-home .fx-row__league {
  font-size: 15px;
  font-weight: 700;
}
.page-home .fx-row__round {
  font-size: 13px;
  color: var(--gray);
}
.page-home .fx-row__count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
}
.page-home .home-board__foot {
  margin: 0;
  padding: 12px clamp(14px, 2.4vw, 22px);
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--gray);
}
.page-home .home-chiprow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.page-home .home-chiprow__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gray);
}
.page-home .home-chiprow .chip {
  cursor: pointer;
}
.page-home .home-chiprow .chip[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.page-home .home-chiprow .chip[aria-pressed="false"] {
  background: var(--white);
  color: var(--ink);
}

/* ---------- 关注球队 ---------- */
.page-home .home-follow {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}
.page-home .home-follow__teams {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.page-home .home-team {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  clip-path: var(--cut-sm);
}
.page-home .home-team.is-on {
  border-color: var(--orange);
  box-shadow: inset 3px 0 0 var(--orange);
}
.page-home .home-team__name {
  font-size: 15px;
  font-weight: 700;
}
.page-home .home-team__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray);
}
.page-home .home-track {
  list-style: none;
  margin: 0;
  padding: 0 0 0 2px;
}
.page-home .home-track__item {
  position: relative;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 4px 18px;
  padding: 0 0 20px 24px;
}
.page-home .home-track__item::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: -4px;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), rgba(30, 111, 217, 0.12));
}
.page-home .home-track__item:last-child {
  padding-bottom: 0;
}
.page-home .home-track__item:last-child::before {
  bottom: auto;
  height: 14px;
}
.page-home .home-track__item::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 19, 0.16);
}
.page-home .home-track__time {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray);
}
.page-home .home-track__text {
  font-size: 15px;
  line-height: 1.7;
}
.page-home .home-follow__media {
  margin: 0;
}
.page-home .home-follow__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  clip-path: var(--home-cut-md);
}
@media (min-width: 880px) {
  .page-home .home-follow {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
  }
}

/* ---------- 数据导出 ---------- */
.page-home .home-stats {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
}
.page-home .home-stats__media {
  margin: 0;
}
.page-home .home-stats__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  clip-path: var(--home-cut-md);
}
.page-home .home-specs {
  margin: 0;
  border-top: 1px solid var(--line-soft);
}
.page-home .home-spec {
  display: grid;
  grid-template-columns: minmax(84px, 132px) minmax(0, 1fr);
  gap: 4px 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
}
.page-home .home-spec__k {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--blue);
}
.page-home .home-spec__v {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}
@media (min-width: 880px) {
  .page-home .home-stats {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
  }
}

/* ---------- 资料库 ---------- */
.page-home .home-lib-wrap {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
}
.page-home .home-lib__tabs .tabs__btn {
  background: var(--mist);
  border-color: var(--line-soft);
}
.page-home .home-lib__tabs .tabs__btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
}
.page-home .home-lib .tabs__panel {
  padding: clamp(16px, 2.4vw, 26px);
  background: var(--white);
  border: 1px solid var(--line-soft);
  clip-path: var(--home-cut-md);
}
.page-home .home-lib__body p {
  margin: 0 0 10px;
  font-size: 15.5px;
  line-height: 1.88;
}
.page-home .home-lib__body p:last-child {
  margin-bottom: 0;
}
.page-home .home-lib__meta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--gray);
}
.page-home .home-lib__media {
  margin: 0;
}
.page-home .home-lib__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  clip-path: var(--home-cut-lg);
}
.page-home .home-lib__note {
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--cyan);
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--gray);
}
@media (min-width: 960px) {
  .page-home .home-lib-wrap {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    align-items: start;
  }
}

/* ---------- 三步上手 ---------- */
.page-home .home-steps {
  list-style: none;
  display: grid;
  gap: clamp(16px, 2.4vw, 24px);
  margin: 0 0 24px;
  padding: 0;
}
.page-home .home-step {
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--white);
  border: 1px solid var(--line-soft);
  clip-path: var(--home-cut-md);
}
.page-home .home-step__n {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--orange);
}
.page-home .home-step h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.4;
}
.page-home .home-step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--gray);
}
@media (min-width: 760px) {
  .page-home .home-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- 更新节奏 ---------- */
.page-home .home-cadence {
  display: grid;
  gap: clamp(16px, 2.4vw, 24px);
}
.page-home .home-cadence__item {
  padding-left: 16px;
  border-left: 2px solid rgba(255, 106, 19, 0.6);
}
.page-home .home-cadence__num {
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--navy);
}
.page-home .home-cadence__unit {
  margin-left: 5px;
  font-size: 13px;
  color: var(--gray);
}
.page-home .home-cadence__item p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--gray);
}
.page-home .home-cadence__tail {
  margin: clamp(22px, 3vw, 32px) 0 0;
  max-width: 36em;
  font-size: 15px;
  line-height: 1.88;
  color: var(--gray);
}
.page-home .home-inline-link {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 111, 217, 0.4);
}
.page-home .home-inline-link:hover {
  border-bottom-color: var(--orange);
  color: var(--orange);
}
@media (min-width: 760px) {
  .page-home .home-cadence {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- 收尾 ---------- */
.page-home .home-close {
  margin-top: clamp(36px, 5vw, 64px);
  padding-block: clamp(36px, 5vw, 60px);
  background: var(--navy);
  color: var(--white);
}
.page-home .home-close__inner {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}
.page-home .home-close h2 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.35;
}
.page-home .home-close p {
  margin: 0;
  max-width: 36em;
  font-size: 15.5px;
  line-height: 1.88;
  color: rgba(255, 255, 255, 0.78);
}
.page-home .home-close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (min-width: 820px) {
  .page-home .home-close__inner {
    grid-template-columns: minmax(0, 1.2fr) auto;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .tabs__btn,
  .page-home .home-rail__item,
  .page-home .home-inline-link {
    transition: none;
  }
}
