/* ===== 首页专属样式 · 作用域 .page-home ===== */

.page-home {
  display: block;
  background: var(--ink-900);
  color: var(--mist);
  overflow-x: clip;
}

.page-home section[id] {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

/* ---------- 章节头（局部修饰，不覆盖共享外壳） ---------- */
.page-home .section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 20px;
  align-items: start;
}

.page-home .section-index {
  grid-row: 1 / span 2;
  font-family: var(--font-mono);
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.04em;
  color: rgba(240, 162, 43, .92);
}

.page-home .section-title {
  grid-column: 2;
  margin: 0;
  font-size: clamp(23px, 3.4vw, 38px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--white);
}

.page-home .section-head__note {
  grid-column: 2;
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--mist);
  max-width: 52ch;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: min(100svh, 940px);
  padding: calc(var(--header-h) + clamp(28px, 7vw, 84px)) 0 clamp(36px, 7vw, 88px);
  overflow: hidden;
  isolation: isolate;
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-home .home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .42;
  filter: saturate(.82) contrast(1.06);
}

.page-home .home-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(110% 80% at 14% 4%, rgba(240, 162, 43, .18) 0%, rgba(240, 162, 43, 0) 58%),
    linear-gradient(180deg, rgba(7, 14, 36, .84) 0%, rgba(7, 14, 36, .58) 38%, rgba(7, 14, 36, .97) 100%);
}

.page-home .home-hero__inner {
  position: relative;
  width: 100%;
}

.page-home .home-frame {
  position: relative;
  border: 1px solid rgba(240, 162, 43, .5);
  background: linear-gradient(158deg, rgba(14, 26, 60, .84) 0%, rgba(7, 14, 36, .72) 100%);
  padding: clamp(26px, 4.4vw, 58px) clamp(22px, 3.6vw, 52px);
  box-shadow: 0 48px 100px -68px rgba(0, 0, 0, .95);
}

.page-home .home-frame__corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 0 solid var(--gold);
  pointer-events: none;
}

.page-home .home-frame__corner--tl { top: 7px; left: 7px; border-top-width: 2px; border-left-width: 2px; }
.page-home .home-frame__corner--tr { top: 7px; right: 7px; border-top-width: 2px; border-right-width: 2px; }
.page-home .home-frame__corner--bl { bottom: 7px; left: 7px; border-bottom-width: 2px; border-left-width: 2px; }
.page-home .home-frame__corner--br { bottom: 7px; right: 7px; border-bottom-width: 2px; border-right-width: 2px; }

.page-home .home-frame__grid {
  display: grid;
  gap: clamp(22px, 4vw, 46px);
}

.page-home .home-frame__season {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 18px;
  border-left: 1px solid rgba(34, 52, 95, .95);
  min-width: 0;
}

.page-home .home-frame__label {
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--mist-dim);
}

.page-home .home-frame__num {
  font-family: var(--font-mono);
  font-size: clamp(58px, 13vw, 112px);
  line-height: .88;
  font-weight: 600;
  letter-spacing: -.04em;
  color: var(--gold);
}

.page-home .home-frame__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mist);
}

.page-home .home-frame__status .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 0 3px rgba(63, 169, 123, .16);
}

.page-home .home-hero__title {
  margin: 0 0 18px;
  font-size: clamp(27px, 5.2vw, 52px);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--white);
  max-width: 20ch;
}

.page-home .home-hero__lede {
  margin: 0 0 clamp(24px, 3vw, 34px);
  font-size: clamp(14.5px, 1.6vw, 17px);
  line-height: 1.85;
  color: var(--mist);
  max-width: 600px;
}

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

.page-home .home-hero__stats {
  list-style: none;
  margin: clamp(28px, 4vw, 46px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(34, 52, 95, .75);
  border: 1px solid rgba(34, 52, 95, .75);
}

.page-home .home-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  background: rgba(7, 14, 36, .88);
  min-width: 0;
}

.page-home .home-hero__stat-num {
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--gold-soft);
}

.page-home .home-hero__stat-label {
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--mist-dim);
}

/* ---------- 赛季推进 ---------- */
.page-home .home-season__grid {
  display: grid;
  gap: clamp(30px, 5vw, 68px);
  margin-top: clamp(28px, 4vw, 48px);
}

.page-home .home-season__figure {
  margin: 0;
  border: 1px solid var(--steel);
  overflow: hidden;
  background: var(--ink-800);
  box-shadow: var(--shadow-card);
}

.page-home .home-season__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.page-home .home-season__note {
  margin: 14px 0 0;
  padding-left: 14px;
  border-left: 1px solid var(--steel);
  font-size: 13px;
  line-height: 1.8;
  color: var(--mist-dim);
}

.page-home .home-timeline {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  position: relative;
}

.page-home .home-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--gold-soft) 0%, var(--steel) 24%, var(--steel) 76%, rgba(34, 52, 95, .18) 100%);
}

.page-home .home-timeline__item {
  position: relative;
}

.page-home .home-timeline__item + .home-timeline__item {
  margin-top: clamp(22px, 3vw, 34px);
}

.page-home .home-timeline__link {
  display: block;
  padding-left: 34px;
  text-decoration: none;
  color: inherit;
}

.page-home .home-timeline__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink-900);
  border: 1px solid var(--steel);
  transition: background .24s var(--ease), border-color .24s var(--ease), box-shadow .24s var(--ease);
}

.page-home .home-timeline__link:hover::before,
.page-home .home-timeline__link:focus-visible::before {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  box-shadow: 0 0 0 4px rgba(240, 162, 43, .16);
}

.page-home .home-timeline__phase {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  color: rgba(240, 162, 43, .82);
}

.page-home .home-timeline__title {
  display: block;
  margin: 3px 0 6px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--white);
  transition: color .2s var(--ease);
}

.page-home .home-timeline__link:hover .home-timeline__title,
.page-home .home-timeline__link:focus-visible .home-timeline__title {
  color: var(--gold-soft);
}

.page-home .home-timeline__text {
  display: block;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
  max-width: 42ch;
}

/* ---------- 今日筛选 ---------- */
.page-home .home-schedule__body {
  margin-top: clamp(26px, 4vw, 44px);
}

.page-home .home-schedule__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--steel);
}

.page-home .home-schedule__tabs .tab {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: -1px;
  padding: 12px 16px;
  font: inherit;
  font-size: 14px;
  color: var(--mist);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.page-home .home-schedule__tabs .tab:hover {
  color: var(--white);
}

.page-home .home-schedule__tabs .tab[aria-selected="true"] {
  color: var(--white);
  font-weight: 700;
  border-bottom-color: var(--gold);
}

.page-home .home-schedule__tabs .tab .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--steel);
  box-shadow: none;
  transition: background .2s var(--ease), box-shadow .2s var(--ease);
}

.page-home .home-schedule__tabs .tab[aria-selected="true"] .status-dot {
  background: var(--jade);
  box-shadow: 0 0 0 3px rgba(63, 169, 123, .18);
}

.page-home .home-schedule__panel {
  margin-top: 18px;
  min-width: 0;
}

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

.page-home .session-card {
  display: grid;
  grid-template-columns: minmax(70px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 15px 18px;
  background: var(--ink-800);
  border: 1px solid var(--steel);
  box-shadow: var(--shadow-card);
  transition: border-color .22s var(--ease), transform .22s var(--ease);
}

.page-home .session-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.page-home .session-card__time {
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: -.01em;
  color: var(--gold);
  white-space: nowrap;
}

.page-home .session-card__body {
  display: block;
  min-width: 0;
}

.page-home .session-card__title {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--white);
}

.page-home .session-card__meta {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--mist-dim);
}

.page-home .session-card__foot {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-home .session-follow {
  appearance: none;
  -webkit-appearance: none;
  padding: 7px 14px;
  font: inherit;
  font-size: 12.5px;
  color: var(--mist);
  background: transparent;
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.page-home .session-follow:hover {
  color: var(--gold-soft);
  border-color: var(--gold);
}

.page-home .session-follow[aria-pressed="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink-900);
  font-weight: 700;
}

.page-home .home-schedule__aside {
  margin-top: clamp(24px, 4vw, 40px);
}

.page-home .home-schedule__figure {
  margin: 0;
  border: 1px solid var(--steel);
  overflow: hidden;
  background: var(--ink-800);
  box-shadow: var(--shadow-card);
}

.page-home .home-schedule__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .home-schedule__caption {
  padding: 14px 16px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--mist-dim);
  border-top: 1px solid var(--steel);
}

/* ---------- 费用与会员对比 ---------- */
.page-home .home-fees__slab {
  position: relative;
  display: grid;
  gap: clamp(26px, 4vw, 48px);
  padding: clamp(28px, 5vw, 62px);
  background:
    radial-gradient(120% 140% at 88% 0%, rgba(255, 217, 138, .58) 0%, rgba(255, 217, 138, 0) 58%),
    linear-gradient(140deg, #F0A22B 0%, #D98A17 100%);
  border: 1px solid var(--gold-soft);
  box-shadow: 0 44px 90px -62px rgba(240, 162, 43, .7);
  overflow: hidden;
}

.page-home .home-fees__eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  color: rgba(7, 14, 36, .68);
}

.page-home .home-fees__title {
  margin: 0 0 14px;
  font-size: clamp(23px, 3.4vw, 38px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--ink-900);
  max-width: 24ch;
}

.page-home .home-fees__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(7, 14, 36, .82);
  max-width: 48ch;
}

.page-home .home-fees__list {
  list-style: none;
  margin: 22px 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 520px;
}

.page-home .home-fees__list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 10px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-900);
  border-bottom: 1px solid rgba(7, 14, 36, .18);
}

.page-home .home-fees__li-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(7, 14, 36, .55);
}

.page-home .home-fees__cta.btn--primary {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--white);
}

.page-home .home-fees__cta.btn--primary:hover {
  background: var(--ink-800);
  border-color: var(--ink-800);
}

.page-home .home-fees__prices {
  margin: 0;
  display: grid;
  gap: 1px;
  background: rgba(7, 14, 36, .18);
  border: 1px solid rgba(7, 14, 36, .18);
  align-self: start;
}

.page-home .home-fees__prices > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  background: rgba(255, 255, 255, .2);
}

.page-home .home-fees__prices dt {
  font-size: 13px;
  color: rgba(7, 14, 36, .74);
}

.page-home .home-fees__prices dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink-900);
}

/* ---------- 关注与同步 ---------- */
.page-home .home-sync__grid {
  display: grid;
  gap: clamp(28px, 4vw, 64px);
}

.page-home .home-sync__copy .section-index {
  display: block;
  margin-bottom: 10px;
}

.page-home .home-sync__text {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--mist);
  max-width: 46ch;
}

.page-home .home-sync__text--quiet {
  font-size: 13.5px;
  color: var(--mist-dim);
}

.page-home .home-sync__copy .btn {
  margin-top: 24px;
}

.page-home .home-sync__panel {
  border: 1px solid var(--steel);
  background: var(--ink-800);
  box-shadow: var(--shadow-card);
  min-width: 0;
}

.page-home .home-sync__panel .panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--mist);
  border-bottom: 1px solid var(--steel);
}

.page-home .home-sync__panel .panel__head .mono {
  font-family: var(--font-mono);
  color: var(--gold-soft);
}

.page-home .home-sync__devices {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-sync__devices li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  font-size: 14px;
  color: var(--mist);
  border-bottom: 1px solid rgba(34, 52, 95, .55);
}

.page-home .home-sync__devices li:last-child {
  border-bottom: 0;
}

.page-home .home-sync__devices .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
  background: var(--jade);
  box-shadow: 0 0 0 3px rgba(63, 169, 123, .14);
}

.page-home .home-sync__device {
  min-width: 0;
  overflow-wrap: anywhere;
}

.page-home .home-sync__devices .tag {
  margin-left: auto;
  flex: none;
}

/* ---------- 赛季回访记录 ---------- */
.page-home .home-revisit {
  position: relative;
  padding: clamp(56px, 9vw, 124px) 0;
  background: var(--ink-900);
  overflow: hidden;
  isolation: isolate;
}

.page-home .home-revisit__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-home .home-revisit__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .22;
}

.page-home .home-revisit__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--ink-900) 0%, rgba(7, 14, 36, .62) 42%, var(--ink-900) 100%);
}

.page-home .home-revisit__inner {
  position: relative;
}

.page-home .home-revisit__inner .section-index {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.04em;
  color: rgba(240, 162, 43, .92);
}

.page-home .home-revisit__inner .section-title {
  margin: 0;
  font-size: clamp(23px, 3.4vw, 38px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--white);
  max-width: 22ch;
}

.page-home .home-revisit__text {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--mist);
  max-width: 50ch;
}

.page-home .home-revisit__facts {
  list-style: none;
  margin: 28px 0 30px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  max-width: 620px;
  background: var(--steel);
  border: 1px solid var(--steel);
}

.page-home .home-revisit__facts li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist-dim);
  background: rgba(7, 14, 36, .88);
}

.page-home .home-revisit__fact-num {
  font-family: var(--font-mono);
  font-size: 24px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--white);
}

/* ---------- 安静收束带 ---------- */
.page-home .home-quiet {
  padding: clamp(28px, 4vw, 48px) 0;
  background: var(--ink-900);
  border-top: 1px solid var(--steel);
}

.page-home .home-quiet__grid {
  display: grid;
  gap: 20px;
}

.page-home .home-quiet__label {
  display: block;
  margin-bottom: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--mist-dim);
}

.page-home .home-quiet__line {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(169, 184, 217, .78);
  overflow-wrap: anywhere;
}

.page-home .home-quiet__line--muted {
  color: rgba(124, 140, 180, .8);
  font-size: 12.5px;
}

.page-home .home-quiet__line--mono {
  font-family: var(--font-mono);
  letter-spacing: .04em;
}

/* ---------- 响应式 ---------- */
@media (min-width: 760px) {
  .page-home .home-hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .home-quiet__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (min-width: 900px) {
  .page-home .home-frame__grid {
    grid-template-columns: minmax(168px, 216px) minmax(0, 1fr);
    align-items: end;
  }

  .page-home .home-sync__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .home-fees__slab {
    grid-template-columns: minmax(0, 1.55fr) minmax(210px, .75fr);
    align-items: start;
  }
}

@media (min-width: 960px) {
  .page-home .home-season__grid {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .page-home .home-schedule__body {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: clamp(24px, 3.6vw, 56px);
    align-items: start;
  }

  .page-home .home-schedule__tabs {
    grid-column: 1 / -1;
  }

  .page-home .home-schedule__panel {
    grid-column: 1;
    margin-top: 0;
  }

  .page-home .home-schedule__aside {
    grid-column: 2;
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .page-home .home-season__figure img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 560px) {
  .page-home .session-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    align-items: start;
  }

  .page-home .session-card__foot {
    justify-content: flex-start;
  }

  .page-home .home-frame__season {
    padding-left: 14px;
  }
}

@media (max-width: 420px) {
  .page-home .home-hero__actions .btn {
    width: 100%;
    text-align: center;
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-home .session-card,
  .page-home .home-timeline__link::before,
  .page-home .home-timeline__title,
  .page-home .session-follow,
  .page-home .home-schedule__tabs .tab,
  .page-home .home-schedule__tabs .tab .status-dot {
    transition: none;
  }

  .page-home .session-card:hover {
    transform: none;
  }
}
