.page-home {
  --home-line-soft: rgba(143, 181, 170, .14);
  --home-panel: rgba(14, 59, 51, .55);
  --home-aqua-glow: rgba(77, 255, 224, .16);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(32px, 5vw, 72px) clamp(56px, 8vw, 116px);
  background:
    radial-gradient(72% 58% at 88% 2%, rgba(77, 255, 224, .17), transparent 62%),
    radial-gradient(58% 48% at 2% 98%, rgba(255, 107, 53, .10), transparent 64%),
    linear-gradient(180deg, #041C18 0%, #062A24 100%);
}

.page-home .home-hero__grid {
  display: grid;
  gap: clamp(32px, 4.5vw, 60px);
  align-items: start;
}

@media (min-width: 940px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.page-home .home-hero__kicker {
  letter-spacing: .16em;
  color: rgba(166, 255, 242, .72);
}

.page-home .home-hero__title {
  margin: 14px 0 0;
  font-size: clamp(2.45rem, 6.6vw, 5rem);
  line-height: .98;
  font-weight: 900;
  letter-spacing: -.02em;
  color: #F4FBF8;
  text-wrap: balance;
}

.page-home .home-hero__title-hl {
  color: #4DFFE0;
}

.page-home .home-hero__intro {
  margin: 22px 0 0;
  max-width: 34em;
  font-size: clamp(1rem, .55vw + .88rem, 1.125rem);
  line-height: 1.78;
  color: #C7E8DF;
}

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

/* 时间轴 */
.page-home .home-hero__timeline {
  margin-top: clamp(28px, 4vw, 44px);
  padding: 18px 18px 8px;
  border: 1px solid var(--line-08);
  border-radius: var(--radius-m);
  background: rgba(6, 42, 36, .5);
}

.page-home .tl-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  margin-bottom: 8px;
}

.page-home .tl-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-home .tl-tab {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border-radius: var(--pill);
  border: 1px solid var(--line-16);
  color: #C7E8DF;
  font-size: .8125rem;
  text-decoration: none;
  transition: border-color .25s var(--ease-out), color .25s var(--ease-out), background .25s var(--ease-out);
}

.page-home .tl-tab:hover,
.page-home .tl-tab:focus-visible {
  border-color: var(--aqua);
  color: var(--aqua);
}

.page-home .tl-tab.is-active {
  background: #4DFFE0;
  border-color: #4DFFE0;
  color: #041C18;
  font-weight: 700;
}

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

.page-home .tl-list::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: linear-gradient(180deg, rgba(77, 255, 224, .85), rgba(143, 181, 170, .1));
}

.page-home .tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 54px auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px 0 12px 26px;
  border-bottom: 1px solid var(--home-line-soft);
}

.page-home .tl-item:last-child {
  border-bottom: 0;
}

.page-home .tl-item::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -5px;
  border-radius: 50%;
  background: #4DFFE0;
  box-shadow: 0 0 0 4px rgba(77, 255, 224, .12);
}

.page-home .tl-time {
  font-family: var(--font-mono);
  font-size: .875rem;
  letter-spacing: .03em;
  color: #4DFFE0;
}

.page-home .tl-match {
  min-width: 0;
  font-size: .9375rem;
  color: #C7E8DF;
}

/* 悬浮排名卡 */
.page-home .home-hero__board {
  position: relative;
  overflow: hidden;
  padding: clamp(16px, 2.2vw, 26px);
  border-radius: var(--radius-l);
  border: 1px solid var(--line-16);
  background: linear-gradient(165deg, rgba(14, 59, 51, .92), rgba(4, 28, 24, .9));
  box-shadow: var(--shadow-panel);
}

.page-home .home-hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .3;
}

.page-home .rank-card {
  position: relative;
  z-index: 1;
  padding: 18px 16px 16px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line-08);
  background: rgba(6, 42, 36, .74);
}

.page-home .rank-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

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

.page-home .rank-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 34px 46px;
  align-items: center;
  gap: 8px;
  padding-block: 9px;
  border-bottom: 1px solid var(--home-line-soft);
}

.page-home .rank-row:last-child {
  border-bottom: 0;
}

.page-home .rank-pos {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: rgba(143, 181, 170, .9);
}

.page-home .rank-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .9375rem;
  color: #F4FBF8;
}

.page-home .rank-delta {
  font-family: var(--font-mono);
  font-size: .75rem;
  text-align: right;
  color: rgba(143, 181, 170, .95);
}

.page-home .rank-delta--up {
  color: #FF6B35;
}

.page-home .rank-delta--down {
  color: #FFD166;
}

.page-home .rank-pts {
  font-family: var(--font-mono);
  font-size: .9375rem;
  font-weight: 600;
  text-align: right;
  color: #A6FFF2;
}

.page-home .rank-card__spark {
  margin-top: 10px;
  height: 46px;
}

.page-home .rank-card__spark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.page-home .rank-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: .875rem;
  font-weight: 600;
  color: #4DFFE0;
  text-decoration: none;
}

.page-home .rank-card__link::after {
  content: "→";
  transition: transform .25s var(--ease-out);
}

.page-home .rank-card__link:hover::after,
.page-home .rank-card__link:focus-visible::after {
  transform: translateX(4px);
}

/* ---------- 栏目横向条带 ---------- */
.page-home .home-band {
  padding-block: clamp(44px, 6vw, 76px);
  background: linear-gradient(172deg, #062A24 0%, #041C18 60%, #07110F 100%);
}

.page-home .home-band__head {
  margin-bottom: clamp(22px, 3vw, 34px);
}

.page-home .home-band__head h2 {
  margin: 10px 0 0;
  font-size: clamp(1.55rem, 2.8vw, 2.4rem);
  line-height: 1.22;
  font-weight: 900;
  color: #F4FBF8;
  max-width: 22em;
}

.page-home .band-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  scrollbar-width: thin;
}

.page-home .band-track {
  display: flex;
  gap: 14px;
  margin: 0;
  padding-inline: var(--gutter);
  list-style: none;
}

.page-home .band-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 clamp(224px, 25vw, 288px);
  scroll-snap-align: start;
  padding: 22px 20px 18px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line-16);
  background: var(--home-panel);
  color: #C7E8DF;
  text-decoration: none;
  transition: border-color .28s var(--ease-out), background .28s var(--ease-out), transform .28s var(--ease-out);
}

.page-home .band-item:hover,
.page-home .band-item:focus-visible {
  border-color: var(--aqua);
  background: rgba(14, 59, 51, .92);
  transform: translateY(-3px);
}

.page-home .band-num {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .1em;
  color: rgba(166, 255, 242, .7);
}

.page-home .band-name {
  font-size: 1.1875rem;
  font-weight: 800;
  color: #F4FBF8;
}

.page-home .band-desc {
  font-size: .875rem;
  line-height: 1.7;
  color: #C7E8DF;
}

.page-home .band-arrow {
  margin-top: auto;
  padding-top: 10px;
  font-size: .875rem;
  color: #4DFFE0;
}

/* ---------- 移动端体验 ---------- */
.page-home .home-mobile {
  padding-block: clamp(52px, 7vw, 100px);
  background: #041C18;
}

.page-home .home-mobile__grid {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

@media (min-width: 900px) {
  .page-home .home-mobile__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    align-items: start;
  }
}

.page-home .home-mobile__copy h2 {
  margin: 10px 0 18px;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1.18;
  font-weight: 900;
  color: #F4FBF8;
}

.page-home .home-mobile__copy p {
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.8;
  color: #C7E8DF;
  max-width: 36em;
}

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

.page-home .mobile-points li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line-08);
  background: rgba(14, 59, 51, .42);
}

.page-home .mobile-points__num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  color: #FF6B35;
  line-height: 1;
}

.page-home .mobile-points__text {
  font-size: .9375rem;
  line-height: 1.6;
  color: #C7E8DF;
}

.page-home .home-mobile__figure {
  border-radius: var(--radius-l);
}

/* ---------- 排名对比演示 ---------- */
.page-home .home-rank {
  padding-block: clamp(56px, 8vw, 108px);
  background: linear-gradient(158deg, #07110F 0%, #062A24 46%, #0E3B33 100%);
  clip-path: polygon(0 42px, 100% 0, 100% 100%, 0 100%);
}

.page-home .home-rank__head h2 {
  margin: 10px 0 14px;
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
  line-height: 1.16;
  font-weight: 900;
  color: #F4FBF8;
  max-width: 18em;
}

.page-home .home-rank__intro {
  margin: 0;
  max-width: 40em;
  font-size: 1rem;
  line-height: 1.8;
  color: #C7E8DF;
}

.page-home .home-rank__body {
  display: grid;
  gap: clamp(24px, 3.5vw, 40px);
  margin-top: clamp(26px, 4vw, 42px);
  align-items: start;
}

@media (min-width: 900px) {
  .page-home .home-rank__body {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.page-home .rank-demo {
  border: 1px solid var(--line-16);
  border-radius: var(--radius-m);
  background: rgba(6, 42, 36, .66);
  overflow: hidden;
}

.page-home .rank-demo__row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 52px 38px 44px;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--home-line-soft);
  font-size: .875rem;
}

.page-home .rank-demo__row:last-child {
  border-bottom: 0;
}

.page-home .rank-demo__row--head {
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .08em;
  color: rgba(143, 181, 170, .95);
  background: rgba(4, 28, 24, .6);
}

.page-home .rank-demo__pos {
  font-family: var(--font-mono);
  color: rgba(143, 181, 170, .9);
}

.page-home .rank-demo__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #F4FBF8;
}

.page-home .rank-demo__spark svg {
  display: block;
  width: 100%;
  height: 22px;
}

.page-home .rank-demo__delta {
  font-family: var(--font-mono);
  font-size: .75rem;
  text-align: right;
  color: rgba(143, 181, 170, .95);
}

.page-home .rank-demo__delta--up {
  color: #FF6B35;
}

.page-home .rank-demo__delta--down {
  color: #FFD166;
}

.page-home .rank-demo__pts {
  font-family: var(--font-mono);
  font-size: .9375rem;
  font-weight: 600;
  text-align: right;
  color: #A6FFF2;
}

.page-home .home-rank__figure {
  border-radius: var(--radius-l);
}

.page-home .home-rank__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 4vw, 40px);
}

/* ---------- 更新节奏与帮助 ---------- */
.page-home .home-notes {
  padding-block: clamp(52px, 7vw, 100px);
  background: #062A24;
}

.page-home .home-notes__head {
  margin-bottom: clamp(24px, 3.5vw, 38px);
}

.page-home .home-notes__head h2 {
  margin: 10px 0 0;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1.18;
  font-weight: 900;
  color: #F4FBF8;
  max-width: 20em;
}

.page-home .home-notes__grid {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

@media (min-width: 900px) {
  .page-home .home-notes__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    align-items: start;
  }
}

.page-home .home-notes__release p {
  margin: 16px 0 0;
  font-size: .9688rem;
  line-height: 1.8;
  color: #C7E8DF;
}

.page-home .release-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.page-home .home-notes__help {
  padding: clamp(18px, 2.6vw, 26px);
  border: 1px solid var(--line-16);
  border-radius: var(--radius-m);
  background: rgba(4, 28, 24, .58);
}

.page-home .home-notes__help h3 {
  margin: 10px 0 16px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #F4FBF8;
}

.page-home .acc {
  border-bottom: 1px solid var(--home-line-soft);
}

.page-home .acc:last-of-type {
  border-bottom: 0;
}

.page-home .acc summary {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 0;
  cursor: pointer;
  font-size: .9688rem;
  font-weight: 600;
  line-height: 1.6;
  color: #F4FBF8;
  list-style: none;
}

.page-home .acc summary::-webkit-details-marker {
  display: none;
}

.page-home .acc summary::before {
  content: "+";
  flex: 0 0 auto;
  width: 18px;
  font-family: var(--font-mono);
  color: #4DFFE0;
  transition: transform .25s var(--ease-out);
}

.page-home .acc[open] summary::before {
  content: "−";
}

.page-home .acc summary:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
  border-radius: 4px;
}

.page-home .acc__body {
  padding: 0 0 16px 28px;
}

.page-home .acc__body p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.78;
  color: #C7E8DF;
}

.page-home .home-notes__link {
  display: inline-block;
  margin-top: 16px;
  font-size: .875rem;
  font-weight: 600;
  color: #4DFFE0;
  text-decoration: none;
  border-bottom: 1px solid rgba(77, 255, 224, .4);
}

.page-home .home-notes__link:hover,
.page-home .home-notes__link:focus-visible {
  border-bottom-color: #4DFFE0;
}

/* ---------- 信任与联系 ---------- */
.page-home .home-trust {
  padding-block: clamp(56px, 8vw, 108px);
  background:
    radial-gradient(70% 60% at 90% 0%, rgba(77, 255, 224, .1), transparent 64%),
    linear-gradient(180deg, #041C18 0%, #07110F 100%);
}

.page-home .home-trust__head h2 {
  margin: 10px 0 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.2;
  font-weight: 900;
  color: #F4FBF8;
  max-width: 22em;
}

.page-home .trust-stats {
  display: grid;
  gap: 14px;
  margin: clamp(26px, 4vw, 42px) 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .page-home .trust-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.page-home .trust-stats li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line-08);
  background: rgba(14, 59, 51, .42);
}

.page-home .trust-num {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1.1;
  color: #4DFFE0;
}

.page-home .trust-label {
  font-size: .875rem;
  line-height: 1.65;
  color: #C7E8DF;
}

.page-home .home-trust__grid {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
  margin-top: clamp(28px, 4vw, 46px);
}

@media (min-width: 900px) {
  .page-home .home-trust__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }
}

.page-home .home-trust__story h3,
.page-home .home-trust__contact h3 {
  margin: 0 0 14px;
  font-size: 1.1875rem;
  font-weight: 800;
  color: #F4FBF8;
}

.page-home .home-trust__story p {
  margin: 0 0 14px;
  font-size: .9688rem;
  line-height: 1.8;
  color: #C7E8DF;
  max-width: 38em;
}

.page-home .home-trust__contact {
  padding: clamp(18px, 2.6vw, 26px);
  border: 1px solid var(--line-16);
  border-radius: var(--radius-m);
  background: rgba(7, 17, 15, .72);
}

.page-home .home-trust__note {
  margin: 0 0 16px;
  font-size: .9375rem;
  line-height: 1.75;
  color: #C7E8DF;
}

.page-home .trust-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .home-trust__addr,
.page-home .home-trust__icp {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: .8125rem;
  letter-spacing: .02em;
  color: rgba(143, 181, 170, .95);
}

.page-home .home-trust__icp {
  margin-top: 6px;
}

.page-home .home-trust__contact .btn {
  margin-top: 18px;
}

/* ---------- 窄屏收口 ---------- */
@media (max-width: 560px) {
  .page-home .home-hero__timeline {
    padding-inline: 14px;
  }

  .page-home .tl-item {
    grid-template-columns: 48px auto minmax(0, 1fr);
    gap: 8px;
    padding-left: 22px;
  }

  .page-home .tl-time {
    font-size: .8125rem;
  }

  .page-home .rank-demo__row {
    grid-template-columns: 22px minmax(0, 1fr) 46px 34px 40px;
    padding: 11px 10px;
    font-size: .8125rem;
  }

  .page-home .mobile-points li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 12px;
  }

  .page-home .mobile-points__num {
    font-size: 1.25rem;
  }

  .page-home .home-rank {
    clip-path: polygon(0 26px, 100% 0, 100% 100%, 0 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .band-item,
  .page-home .rank-card__link::after,
  .page-home .acc summary::before,
  .page-home .tl-tab {
    transition: none;
  }

  .page-home .band-item:hover,
  .page-home .band-item:focus-visible {
    transform: none;
  }

  .page-home .rank-card__link:hover::after,
  .page-home .rank-card__link:focus-visible::after {
    transform: none;
  }
}
