.page-home {
  --home-pad: clamp(56px, 8vw, 100px);
  --home-line: rgba(198, 255, 61, .22);
  --home-line-soft: rgba(198, 255, 61, .12);
}

.page-home .section {
  padding: var(--home-pad) 0;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(820px 500px at 88% -12%, rgba(198, 255, 61, .18), transparent 62%),
    radial-gradient(680px 420px at 4% 108%, rgba(45, 156, 255, .18), transparent 60%),
    linear-gradient(162deg, #0B3D2E 0%, #06231A 100%);
}

.page-home .home-hero__inner {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  align-items: end;
}

.page-home .home-context {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  padding: 7px 14px;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(234, 251, 243, .78);
}

.page-home .home-context__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(198, 255, 61, .16);
}

.page-home .home-hero__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 5.6vw, 58px);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--card);
}

.page-home .home-hero__title em {
  display: inline-block;
  font-style: normal;
  color: var(--lime);
  transform: skewX(-5deg);
  transform-origin: left bottom;
}

.page-home .home-hero__lead {
  max-width: 40ch;
  margin: 0 0 28px;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.75;
  color: rgba(234, 251, 243, .84);
}

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

.page-home .home-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid rgba(234, 251, 243, .14);
}

.page-home .home-hero__facts li {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: 13px;
  color: rgba(234, 251, 243, .68);
}

.page-home .home-hero__facts b {
  font-family: var(--font-data);
  font-size: 24px;
  color: var(--lime);
  letter-spacing: -.02em;
}

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

.page-home .home-hero__shot {
  display: block;
  width: 100%;
  height: clamp(210px, 34vw, 330px);
  object-fit: cover;
  border-radius: var(--radius);
  clip-path: polygon(0 9%, 100% 0, 100% 91%, 0 100%);
  filter: saturate(.86) contrast(1.08) brightness(.7);
}

.page-home .anchor-big {
  position: absolute;
  left: 0;
  bottom: -14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 22px;
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  background: rgba(6, 35, 26, .82);
  backdrop-filter: blur(12px);
}

.page-home .anchor-big__num {
  font-family: var(--font-data);
  font-size: clamp(38px, 8vw, 62px);
  line-height: .92;
  letter-spacing: -.04em;
  color: var(--lime);
}

.page-home .anchor-big__label {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(234, 251, 243, .7);
}

/* ---------- 通用区头 ---------- */
.page-home .home-head {
  max-width: 46rem;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.page-home .home-head__title {
  margin: 16px 0 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.16;
  letter-spacing: -.015em;
  color: var(--ink);
}

.page-home .home-head__lead {
  margin: 0;
  max-width: 42ch;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-mute);
}

.page-home .home-head--light .home-head__title {
  color: var(--card);
}

.page-home .home-head--light .home-head__lead {
  color: rgba(234, 251, 243, .76);
}

.page-home .home-head--dark .home-head__title {
  color: var(--ink-soft);
}

/* ---------- 数据切换 ---------- */
.page-home .home-switch {
  background:
    linear-gradient(180deg, #F4F7F5 0%, #EAFBF3 100%);
}

.page-home .switch-board {
  display: grid;
  gap: 22px;
}

.page-home .switch-ctrl {
  display: inline-flex;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  justify-self: start;
}

.page-home .switch-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(234, 251, 243, .74);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .24s var(--ease), color .24s var(--ease), transform .18s var(--ease);
}

.page-home .switch-btn:hover {
  color: var(--card);
}

.page-home .switch-btn.is-active {
  background: var(--lime);
  color: #06231A;
  font-weight: 700;
}

.page-home .switch-btn:active {
  transform: translateY(1px);
}

.page-home .switch-btn:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.page-home .switch-panels {
  display: grid;
  gap: 16px;
}

.page-home .switch-panel {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(6, 35, 26, .94) 0%, rgba(11, 61, 46, .94) 100%);
  box-shadow: var(--shadow);
}

.page-home .chart__cap {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(234, 251, 243, .62);
}

.page-home .chart__note {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(234, 251, 243, .62);
}

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

.page-home .bars__row {
  display: grid;
  grid-template-columns: 4.4em minmax(0, 1fr) 2.6em;
  align-items: center;
  gap: 12px;
}

.page-home .bars__pos {
  font-size: 13px;
  color: rgba(234, 251, 243, .78);
}

.page-home .bars__track {
  display: block;
  height: 10px;
  border-radius: 6px;
  background: rgba(234, 251, 243, .12);
  overflow: hidden;
}

.page-home .bars__fill {
  display: block;
  width: var(--v, 50%);
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(198, 255, 61, .78), var(--lime));
}

.page-home .bars__val {
  font-family: var(--font-data);
  font-size: 15px;
  text-align: right;
  color: var(--lime);
}

.page-home .donut-wrap {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.page-home .donut {
  width: 120px;
  height: 120px;
  flex: 0 0 auto;
}

.page-home .donut-legend {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.page-home .donut-legend__item {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 14px;
  color: rgba(234, 251, 243, .78);
}

.page-home .donut-legend__item b {
  font-family: var(--font-data);
  font-size: 17px;
  color: var(--card);
}

.page-home .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.page-home .dot--lime { background: var(--lime); }
.page-home .dot--blue { background: var(--blue); }
.page-home .dot--mint { background: var(--mint); }

.page-home .switch-shot {
  margin: 0;
}

.page-home .switch-shot img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  filter: saturate(.9) contrast(1.04) brightness(.86);
  clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%);
}

.page-home .switch-shot figcaption {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-mute);
  max-width: 46ch;
}

/* ---------- 赛程 ---------- */
.page-home .home-schedule .filterbar {
  margin-bottom: 24px;
}

.page-home .schedule-body {
  display: grid;
  gap: 26px;
}

.page-home .tl {
  position: relative;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 44px 0 6px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-home .tl::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--lime), rgba(198, 255, 61, .1));
  border-radius: 2px;
}

.page-home .tl__item {
  position: relative;
  flex: 0 0 252px;
  scroll-snap-align: start;
}

.page-home .tl__item::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(198, 255, 61, .18);
}

.page-home .tl__time {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-data);
  font-size: 26px;
  letter-spacing: -.02em;
  color: var(--ink-soft);
}

.page-home .tl__card {
  padding: 18px;
  border: 1px solid rgba(15, 42, 32, .12);
  border-radius: var(--radius);
  background: #FFFFFF;
  box-shadow: 0 12px 28px rgba(6, 35, 26, .07);
}

.page-home .tl__title {
  margin: 12px 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink-soft);
}

.page-home .tl__meta {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-mute);
}

.page-home .tl__meta b {
  font-family: var(--font-data);
  color: var(--orange);
}

.page-home .standings {
  padding: 22px;
  border-radius: var(--radius);
  background: linear-gradient(150deg, #0B3D2E 0%, #06231A 100%);
  box-shadow: var(--shadow);
}

.page-home .standings__cap {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(234, 251, 243, .62);
}

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

.page-home .standings__row {
  display: grid;
  grid-template-columns: 1.6em minmax(0, 1fr) 3em;
  align-items: center;
  gap: 10px;
}

.page-home .standings__rank {
  font-family: var(--font-data);
  font-size: 13px;
  color: rgba(234, 251, 243, .6);
}

.page-home .standings__bar {
  display: block;
  height: 8px;
  width: var(--w, 60%);
  border-radius: 5px;
  background: linear-gradient(90deg, var(--blue), var(--mint));
}

.page-home .standings__pts {
  font-family: var(--font-data);
  font-size: 15px;
  text-align: right;
  color: var(--lime);
}

.page-home .standings__note {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(234, 251, 243, .14);
  font-size: 14px;
  line-height: 1.7;
  color: rgba(234, 251, 243, .68);
}

/* ---------- 双版本对照 ---------- */
.page-home .home-compare {
  background:
    radial-gradient(640px 380px at 12% 0%, rgba(255, 201, 74, .12), transparent 62%),
    linear-gradient(180deg, #06231A 0%, #0B3D2E 100%);
}

.page-home .cmptable {
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(6, 35, 26, .58);
}

.page-home .cmptable__head,
.page-home .cmptable__row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
  padding: 15px 18px;
}

.page-home .cmptable__head {
  background: rgba(198, 255, 61, .1);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(234, 251, 243, .7);
}

.page-home .cmptable__row + .cmptable__row {
  border-top: 1px solid rgba(234, 251, 243, .1);
}

.page-home .cmptable__k {
  font-size: 15px;
  color: rgba(234, 251, 243, .86);
}

.page-home .cmptable__v {
  font-family: var(--font-data);
  font-size: 17px;
  color: rgba(234, 251, 243, .68);
}

.page-home .cmptable__v--now {
  color: var(--card);
}

.page-home .cmptable__d {
  font-family: var(--font-data);
  font-size: 17px;
  text-align: right;
}

.page-home .cmptable__d--up { color: var(--lime); }
.page-home .cmptable__d--down { color: var(--orange); }

.page-home .compare-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
}

.page-home .compare-foot p {
  flex: 1 1 20rem;
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(234, 251, 243, .78);
}

/* ---------- 约球 ---------- */
.page-home .home-pitch {
  position: relative;
  background:
    radial-gradient(760px 420px at 82% 8%, rgba(255, 92, 57, .16), transparent 64%),
    linear-gradient(200deg, #0B3D2E 0%, #06231A 100%);
}

.page-home .cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.page-home .city {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 11px 18px;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  background: rgba(234, 251, 243, .06);
  cursor: default;
  transition: border-color .22s var(--ease), background .22s var(--ease);
}

.page-home .city:hover,
.page-home .city:focus-visible {
  border-color: var(--lime);
  background: rgba(198, 255, 61, .12);
  outline: none;
}

.page-home .city__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--card);
}

.page-home .city__tip {
  margin-left: 10px;
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--mint);
}

.page-home .pitch-shot {
  margin: 0 0 28px;
}

.page-home .pitch-shot img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(.88) contrast(1.06) brightness(.74);
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}

.page-home .pitch-shot figcaption {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(234, 251, 243, .64);
}

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

/* ---------- 免费说明 ---------- */
.page-home .home-free__grid {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
}

.page-home .home-free__title {
  margin: 16px 0 20px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.16;
  letter-spacing: -.015em;
  color: var(--ink-soft);
}

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

.page-home .freelist li {
  position: relative;
  padding-left: 26px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
}

.page-home .freelist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 3px;
  border-radius: 2px;
  background: var(--lime);
  box-shadow: 0 0 0 1px rgba(11, 61, 46, .16);
}

.page-home .home-free__note {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-mute);
}

.page-home .home-free__paths {
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-home .pathcard {
  padding: 22px;
  border-radius: var(--radius);
  background: #FFFFFF;
  border: 1px solid rgba(15, 42, 32, .1);
  box-shadow: 0 12px 30px rgba(6, 35, 26, .06);
}

.page-home .pathcard--lime {
  background: linear-gradient(150deg, #0B3D2E 0%, #06231A 100%);
  border-color: var(--home-line);
}

.page-home .pathcard__kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
}

.page-home .pathcard--lime .pathcard__kicker {
  color: var(--lime);
}

.page-home .pathcard__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: var(--ink-soft);
}

.page-home .pathcard--lime .pathcard__title {
  color: var(--card);
}

.page-home .pathcard__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-mute);
}

.page-home .pathcard--lime .pathcard__text {
  color: rgba(234, 251, 243, .76);
}

.page-home .pathrow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.page-home .home-free__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 4px 0 0;
}

.page-home .home-free__links a {
  font-size: 14px;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(45, 156, 255, .4);
  padding-bottom: 2px;
}

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

/* ---------- 响应式 ---------- */
@media (min-width: 768px) {
  .page-home .switch-panels {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: 56px;
  }

  .page-home .schedule-body {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .56fr);
    align-items: start;
  }

  .page-home .tl {
    flex-wrap: nowrap;
  }

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

@media (max-width: 560px) {
  .page-home .cmptable__head,
  .page-home .cmptable__row {
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .86fr));
    padding: 13px 14px;
    gap: 6px;
  }

  .page-home .cmptable__k,
  .page-home .cmptable__v,
  .page-home .cmptable__d {
    font-size: 14px;
  }

  .page-home .cmptable__head {
    font-size: 11px;
    letter-spacing: .04em;
  }

  .page-home .anchor-big {
    left: 10px;
  }

  .page-home .bars__row {
    grid-template-columns: 3.6em minmax(0, 1fr) 2.2em;
    gap: 8px;
  }

  .page-home .donut {
    width: 96px;
    height: 96px;
  }
}

@media (hover: none) {
  .page-home .city__tip {
    color: var(--lime);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .switch-btn,
  .page-home .city {
    transition: none;
  }
}

.page-home {
  --v: 1rem;
  --w: 1rem;
}
