/* ============ 首页 · page-home ============ */
.page-home {
  --ph-cyan: #35E0D0;
  --ph-gold: #E8B44A;
  --ph-red: #B7372E;
  --ph-blue: #4A8FD8;
  --ph-moss: #5C7A55;
  --ph-clay: #C1704A;
  --ph-line: rgba(126, 134, 152, 0.22);
  --ph-soft: rgba(126, 134, 152, 0.12);
  --ph-dim: rgba(243, 239, 230, 0.74);
  --ph-faint: rgba(126, 134, 152, 0.85);
  display: block;
  background: var(--hu-ink);
  color: var(--hu-snow);
  font-family: var(--font-body);
  overflow-x: hidden;
}

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

.page-home .ph-crop {
  position: relative;
  overflow: hidden;
  background: rgba(23, 28, 34, 0.9);
  border-radius: 16px;
}

.page-home .ph-crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .ph-crop--16x9 { aspect-ratio: 16 / 9; }
.page-home .ph-crop--3x2 { aspect-ratio: 3 / 2; }
.page-home .ph-crop--3x4 { aspect-ratio: 3 / 4; }

.page-home .ph-band {
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--ph-blue) 0 20%,
    #F3EFE6 20% 40%,
    var(--ph-red) 40% 60%,
    var(--ph-moss) 60% 80%,
    var(--ph-gold) 80% 100%
  );
  opacity: 0.85;
}

.page-home .ph-sec {
  position: relative;
  padding: clamp(52px, 8.5vw, 100px) 0;
}

.page-home .ph-head {
  max-width: 62ch;
  margin-bottom: clamp(26px, 4vw, 46px);
}

.page-home .ph-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.62rem, 4.4vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--hu-snow);
  margin: 10px 0 14px;
}

.page-home .ph-note {
  margin: 0;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ph-dim);
}

.page-home .ph-note a,
.page-home .rules__more a,
.page-home .reach__more a {
  color: var(--ph-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 224, 208, 0.4);
  padding-bottom: 1px;
}

.page-home .ph-note a:hover,
.page-home .rules__more a:hover,
.page-home .reach__more a:hover {
  border-bottom-color: var(--ph-cyan);
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  padding: clamp(34px, 6vw, 78px) 0 clamp(24px, 4vw, 40px);
  overflow: hidden;
  background:
    radial-gradient(115% 85% at 84% 4%, rgba(53, 224, 208, 0.16) 0%, rgba(53, 224, 208, 0) 58%),
    radial-gradient(90% 70% at 6% 96%, rgba(232, 180, 74, 0.09) 0%, rgba(232, 180, 74, 0) 62%),
    linear-gradient(168deg, #0B0E12 0%, #141A22 52%, #0B0E12 100%);
  border-bottom: 1px solid var(--ph-soft);
}

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

.page-home .hero__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  color: var(--hu-snow);
}

.page-home .hero__brand {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: clamp(0.76rem, 2.2vw, 0.94rem);
  letter-spacing: 0.22em;
  color: var(--ph-cyan);
  border-left: 3px solid var(--ph-cyan);
  padding: 4px 0 4px 12px;
  margin-bottom: 18px;
}

.page-home .hero__claim {
  display: block;
  font-family: var(--font-geo), var(--font-body);
  font-weight: 900;
  font-size: clamp(1.95rem, 7.4vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.page-home .hero__claim em {
  font-style: normal;
  background: linear-gradient(96deg, var(--ph-gold) 0%, #F6DCA0 58%, var(--ph-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .hero__intro {
  max-width: 46ch;
  margin: 0 0 30px;
  font-size: clamp(0.98rem, 2.6vw, 1.08rem);
  line-height: 1.85;
  color: var(--ph-dim);
}

.page-home .hero__stats {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ph-line);
}

.page-home .hero__stats > li {
  padding: 16px 12px 14px 0;
  border-right: 1px solid var(--ph-soft);
}

.page-home .hero__stats > li:last-child {
  border-right: 0;
  padding-right: 0;
}

.page-home .hero__num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.6rem, 5.4vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ph-gold);
}

.page-home .hero__num--cyan { color: var(--ph-cyan); }

.page-home .hero__unit {
  display: block;
  margin-top: 6px;
  font-size: 0.86rem;
  color: var(--hu-snow);
}

.page-home .hero__tag {
  display: block;
  margin-top: 6px;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--ph-faint);
}

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

.page-home .hero__figure {
  margin: 0;
  position: relative;
}

.page-home .hero__figure::after {
  content: "";
  position: absolute;
  inset: auto -12% -14% 34%;
  height: 3px;
  background: linear-gradient(90deg, rgba(53, 224, 208, 0) 0%, rgba(53, 224, 208, 0.8) 50%, rgba(53, 224, 208, 0) 100%);
  transform: rotate(-4deg);
  pointer-events: none;
}

.page-home .hero__caption {
  margin-top: 12px;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--ph-faint);
}

.page-home .hero__badge {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(23, 28, 34, 0.72);
  border-left: 3px solid var(--ph-cyan);
}

.page-home .hero__badge p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--ph-dim);
}

.page-home .hero__badge strong { color: var(--hu-snow); }

.page-home .hero__seasons {
  margin-top: clamp(28px, 4.5vw, 52px);
  border-top: 1px solid var(--ph-soft);
  padding-top: 16px;
}

.page-home .hero__seasons-list {
  list-style: none;
  margin: 0;
  padding: 2px 0 6px;
  display: flex;
  gap: 15px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--ph-faint);
  scrollbar-width: none;
}

.page-home .hero__seasons-list::-webkit-scrollbar { display: none; }

.page-home .hero__seasons-list li {
  white-space: nowrap;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}

.page-home .hero__seasons-list li.is-now {
  color: var(--ph-cyan);
  border-bottom-color: var(--ph-cyan);
}

/* ---------- 赔率看板 ---------- */
.page-home .odds {
  background: linear-gradient(180deg, #0B0E12 0%, #10151C 62%, #0B0E12 100%);
}

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

.page-home .odds__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "rank value"
    "bar bar"
    "hint hint";
  gap: 10px 12px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--ph-soft);
}

.page-home .odds__rank {
  grid-area: rank;
  justify-self: start;
}

.page-home .odds__value {
  grid-area: value;
  justify-self: end;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.28rem, 3.6vw, 1.8rem);
  letter-spacing: -0.02em;
  color: var(--ph-gold);
}

.page-home .odds__track {
  grid-area: bar;
  display: block;
  height: 9px;
  border-radius: 999px;
  background: rgba(126, 134, 152, 0.16);
  overflow: hidden;
}

.page-home .odds__fill {
  display: block;
  height: 100%;
  width: var(--p, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(232, 180, 74, 0.32) 0%, var(--ph-gold) 52%, #F6DCA0 100%);
  transform-origin: left center;
  transition: width 640ms var(--ease);
}

.page-home .odds__hint {
  grid-area: hint;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--ph-dim);
}

.page-home .odds__foot {
  margin: clamp(24px, 4vw, 36px) 0 0;
  max-width: 64ch;
  font-size: 0.94rem;
  line-height: 1.85;
  color: var(--ph-dim);
}

/* ---------- 升降级形势轴 ---------- */
.page-home .ladder__phases {
  list-style: none;
  margin: 0 0 clamp(28px, 4vw, 44px);
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--ph-line);
  border-top: 1px solid var(--ph-line);
  border-bottom: 1px solid var(--ph-line);
}

.page-home .ladder__phase {
  background: var(--hu-ink);
  padding: 18px 16px 20px;
}

.page-home .ladder__pidx {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  color: var(--ph-red);
  margin-bottom: 8px;
}

.page-home .ladder__pname {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--hu-snow);
}

.page-home .ladder__ptext {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--ph-dim);
}

.page-home .ladder__board {
  display: grid;
  gap: clamp(20px, 3vw, 30px);
}

.page-home .ladder__row {
  display: grid;
  gap: 10px;
}

.page-home .ladder__tier {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--ph-faint);
}

.page-home .ladder__bar {
  display: flex;
  height: 36px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(126, 134, 152, 0.1);
}

.page-home .ladder__seg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--w, auto);
  flex: 0 0 var(--w, auto);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 4px;
  color: var(--hu-snow);
}

.page-home .ladder__seg--up {
  background: linear-gradient(180deg, rgba(53, 224, 208, 0.4), rgba(53, 224, 208, 0.16));
  color: #D8FFFB;
}

.page-home .ladder__seg--po {
  background: linear-gradient(180deg, rgba(232, 180, 74, 0.42), rgba(232, 180, 74, 0.16));
  color: #FFF0CE;
}

.page-home .ladder__seg--mid {
  background: rgba(126, 134, 152, 0.2);
  color: #C9D0DC;
}

.page-home .ladder__seg--down {
  background: linear-gradient(180deg, rgba(183, 55, 46, 0.62), rgba(183, 55, 46, 0.32));
  color: #FFDCD7;
}

.page-home .ladder__trend {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--ph-dim);
}

.page-home .arrow {
  flex: 0 0 auto;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}

.page-home .arrow--up { border-bottom: 8px solid var(--ph-cyan); }
.page-home .arrow--down { border-top: 8px solid var(--ph-red); }

/* ---------- 三类记录 ---------- */
.page-home .fields {
  background: linear-gradient(180deg, #0B0E12 0%, #12171F 55%, #0B0E12 100%);
}

.page-home .fields__figure {
  margin: 0 0 clamp(24px, 4vw, 40px);
  border: 1px solid var(--ph-soft);
}

.page-home .fields__grid {
  display: grid;
  gap: 18px;
}

.page-home .fields__card {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  background: linear-gradient(158deg, rgba(23, 28, 34, 0.96) 0%, rgba(11, 14, 18, 0.96) 100%);
  border: 1px solid var(--ph-soft);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.page-home .fields__idx {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  color: var(--ph-cyan);
  margin-bottom: 12px;
}

.page-home .fields__name {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  line-height: 1.35;
  color: var(--hu-snow);
}

.page-home .fields__card > p,
.page-home .fields__wide-body > p {
  margin: 0 0 18px;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--ph-dim);
}

.page-home .fields__meta {
  margin: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 16px;
  padding-top: 16px;
  border-top: 1px solid var(--ph-soft);
  font-size: 0.86rem;
}

.page-home .fields__meta dt {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--ph-blue);
  white-space: nowrap;
}

.page-home .fields__meta dd {
  margin: 0;
  line-height: 1.7;
  color: var(--ph-dim);
}

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

.page-home .fields__wide-media {
  border: 1px solid var(--ph-soft);
  max-width: 300px;
  width: 100%;
}

/* ---------- 八档规则 ---------- */
.page-home .rules__grid {
  list-style: none;
  margin: 0 0 clamp(24px, 4vw, 36px);
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--ph-soft);
  border: 1px solid var(--ph-soft);
}

.page-home .rules__cell {
  background: var(--hu-ink);
  padding: 22px 18px 24px;
}

.page-home .rules__cell:first-child,
.page-home .rules__cell:last-child {
  background: linear-gradient(158deg, rgba(53, 224, 208, 0.09) 0%, rgba(11, 14, 18, 1) 72%);
}

.page-home .rules__no {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  color: var(--ph-cyan);
  margin-bottom: 10px;
}

.page-home .rules__name {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.04rem;
  line-height: 1.42;
  color: var(--hu-snow);
}

.page-home .rules__desc {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.72;
  color: var(--ph-dim);
}

.page-home .rules__panels {
  display: grid;
  gap: 10px;
}

.page-home .rules__panel {
  background: rgba(23, 28, 34, 0.62);
  border: 1px solid var(--ph-soft);
  border-left: 3px solid var(--ph-clay);
}

.page-home .rules__sum {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--hu-snow);
}

.page-home .rules__sum::-webkit-details-marker { display: none; }
.page-home .rules__sum::marker { content: ""; }

.page-home .rules__sum::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  line-height: 1;
  color: var(--ph-cyan);
}

.page-home .rules__panel[open] .rules__sum::after { content: "–"; }
.page-home .rules__panel[open] { border-left-color: var(--ph-cyan); }

.page-home .rules__body {
  padding: 0 18px 18px;
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--ph-dim);
}

.page-home .rules__body p { margin: 0 0 12px; }
.page-home .rules__body p:last-child { margin-bottom: 0; }

.page-home .rules__more {
  margin: clamp(22px, 3.5vw, 32px) 0 0;
  font-size: 0.94rem;
  line-height: 1.85;
  color: var(--ph-dim);
}

/* ---------- 适配清单入口 ---------- */
.page-home .fit__inner {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.page-home .fit__media {
  border: 1px solid var(--ph-soft);
}

.page-home .fit__body .ph-note { max-width: 46ch; }

.page-home .fit__filters {
  list-style: none;
  margin: 22px 0 26px;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--ph-soft);
  border-top: 1px solid var(--ph-soft);
  border-bottom: 1px solid var(--ph-soft);
}

.page-home .fit__filters li {
  background: var(--hu-ink);
  padding: 14px 12px;
  font-size: 0.9rem;
  color: var(--hu-snow);
}

.page-home .fit__filters span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--ph-blue);
  margin-bottom: 6px;
}

/* ---------- 专栏条目 ---------- */
.page-home .col__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ph-soft);
}

.page-home .col__item {
  display: grid;
  gap: 10px;
  padding: 20px 0;
  border-bottom: 1px solid var(--ph-soft);
  transition: padding-left 280ms var(--ease), background-color 280ms var(--ease);
}

.page-home .col__item:hover {
  padding-left: 12px;
  background: rgba(53, 224, 208, 0.04);
}

.page-home .col__tag { justify-self: start; }

.page-home .col__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.6vw, 1.12rem);
  line-height: 1.55;
  color: var(--hu-snow);
}

.page-home .col__time {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--ph-gold);
}

.page-home .col__more {
  margin: clamp(24px, 4vw, 36px) 0 0;
}

/* ---------- 服务与联系 ---------- */
.page-home .reach {
  border-top: 1px solid var(--ph-soft);
  background: linear-gradient(180deg, #0B0E12 0%, #141A22 100%);
}

.page-home .reach__inner {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
}

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

.page-home .reach__points li {
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ph-dim);
}

.page-home .reach__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  background: var(--ph-cyan);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.page-home .reach__more {
  margin: 18px 0 0;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--ph-faint);
}

.page-home .reach__card {
  align-self: start;
  padding: clamp(22px, 3vw, 32px);
  background: linear-gradient(152deg, rgba(232, 180, 74, 0.1) 0%, rgba(11, 14, 18, 0.94) 68%);
  border: 1px solid var(--ph-soft);
  border-left: 3px solid var(--ph-gold);
}

.page-home .reach__card-label {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  color: var(--ph-gold);
}

.page-home .reach__card-value {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: clamp(1.05rem, 3.2vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--hu-snow);
}

.page-home .reach__card-note {
  margin: 0 0 20px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ph-dim);
}

.page-home .reach__link {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--ph-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 224, 208, 0.42);
  padding-bottom: 2px;
}

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

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

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

  .page-home .odds__row {
    grid-template-columns: 136px 104px minmax(0, 1fr) 232px;
    grid-template-areas: "rank value bar hint";
    gap: 20px;
    padding: 20px 0;
  }

  .page-home .col__item {
    grid-template-columns: 132px minmax(0, 1fr) 132px;
    align-items: baseline;
    gap: 22px;
  }

  .page-home .col__time { justify-self: end; text-align: right; }

  .page-home .fields__wide {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
    align-items: start;
  }
}

@media (min-width: 900px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    gap: clamp(32px, 5vw, 72px);
  }

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

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

  .page-home .fit__inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .page-home .reach__inner {
    grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr);
  }
}

@media (min-width: 1040px) {
  .page-home .rules__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .page-home .ladder__row {
    grid-template-columns: 120px minmax(0, 1fr) 268px;
    align-items: center;
    gap: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .odds__fill,
  .page-home .col__item {
    transition: none;
  }
}
</main>

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