/* ===== 首页 page-home ===== */
.page-home {
  display: block;
  background: var(--pearl);
  color: var(--ink);
}

.page-home .mono {
  font-family: var(--font-mono);
  font-feature-settings: "tnum" 1;
}

/* ---------- 首屏：专题封面 ---------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5.5vw, 74px) 0 clamp(42px, 6vw, 88px);
  background:
    radial-gradient(115% 95% at 92% 4%, rgba(255, 107, 74, .13), transparent 55%),
    radial-gradient(90% 80% at 4% 100%, rgba(26, 110, 168, .11), transparent 60%),
    linear-gradient(180deg, #EDF4FA 0%, var(--pearl) 72%);
}

.page-home .hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(11, 46, 79, .075) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 46, 79, .075) 1px, transparent 1px);
  background-size: 88px 88px;
  background-position: center top;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
}

.page-home .hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: center;
}

.page-home .hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(16px, 2.4vw, 26px);
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .16em;
  color: var(--sea);
}

.page-home .hero-eyebrow::before {
  content: "";
  flex: none;
  width: 28px;
  height: 2px;
  background: var(--coral);
}

.page-home .hero-title {
  margin: 0 0 clamp(14px, 2vw, 22px);
  font-size: clamp(2rem, 5.4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -.025em;
  font-weight: 900;
  color: var(--deep);
}

.page-home .hero-lead {
  margin: 0 0 clamp(20px, 3vw, 30px);
  max-width: 48ch;
  font-size: clamp(.98rem, 1.15vw, 1.08rem);
  line-height: 1.9;
  color: #33475A;
}

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

.page-home .hero-login {
  display: grid;
  gap: 8px;
  margin-top: clamp(22px, 3vw, 34px);
  max-width: 540px;
  padding: 16px 18px 18px;
  border: 1px solid rgba(11, 46, 79, .14);
  border-left: 3px solid var(--coral);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -34px rgba(7, 26, 43, .6);
}

.page-home .hero-login-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .18em;
  font-weight: 700;
  color: var(--coral-deep);
}

.page-home .hero-login-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 107, 74, .18);
}

.page-home .hero-login-text {
  margin: 0;
  font-size: .92rem;
  line-height: 1.8;
  color: #33475A;
}

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

.page-home .hero-visual {
  position: relative;
}

.page-home .hero-figure {
  margin: 0;
}

.page-home .hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.page-home .hero-index {
  position: relative;
  margin: -58px clamp(14px, 3vw, 34px) 0;
  padding: 12px clamp(14px, 2vw, 22px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .74);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 26px 54px -30px rgba(7, 26, 43, .5);
}

.page-home .hero-index ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-home .hero-index a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 4px 6px;
  border-radius: 9px;
  font-size: .92rem;
  color: var(--deep);
  text-decoration: none;
  transition: background .25s var(--ease), color .25s var(--ease), padding-left .25s var(--ease);
}

.page-home .hero-index a:hover,
.page-home .hero-index a:focus-visible {
  background: var(--coral-soft);
  color: var(--coral-deep);
  padding-left: 12px;
}

.page-home .hero-index .mono {
  flex: none;
  font-size: .74rem;
  letter-spacing: .08em;
  color: var(--sea);
}

/* ---------- 第二栏：平板移动端资讯榜单 ---------- */
.page-home .rank {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6.5vw, 94px) 0;
  background:
    radial-gradient(90% 70% at 88% 8%, rgba(255, 107, 74, .16), transparent 58%),
    linear-gradient(160deg, #0B2E4F 0%, #0C3760 58%, #0B2E4F 100%);
  color: #fff;
}

.page-home .rank-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 88px 88px;
}

.page-home .rank .shell {
  position: relative;
}

.page-home .rank-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.page-home .rank-eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .18em;
  color: #7FB6DC;
}

.page-home .rank-title {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -.01em;
  font-weight: 900;
  color: #fff;
}

.page-home .rank-lead {
  margin: 0;
  max-width: 62ch;
  font-size: .98rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, .78);
}

.page-home .rank-figure {
  margin: 0;
  max-width: 420px;
}

.page-home .rank-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid var(--line-dark);
}

.page-home .rank-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 26px);
}

.page-home .rank-card {
  padding: clamp(16px, 2.4vw, 26px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}

.page-home .rank-card:hover {
  border-color: var(--coral);
  background: rgba(255, 255, 255, .12);
}

.page-home .rank-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line-dark);
}

.page-home .rank-card-head h3 {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 700;
  color: #fff;
}

.page-home .rank-list {
  counter-reset: rank;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.page-home .rank-list li {
  counter-increment: rank;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .13);
  font-size: .93rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .86);
  transition: color .25s var(--ease);
}

.page-home .rank-list li::before {
  content: counter(rank, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .04em;
  color: var(--coral);
}

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

.page-home .rank-list li:hover {
  color: #fff;
}

.page-home .rank-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .9rem;
  color: #8CC5E8;
  text-decoration: none;
  border-bottom: 1px solid rgba(140, 197, 232, .4);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}

.page-home .rank-more:hover,
.page-home .rank-more:focus-visible {
  color: var(--coral);
  border-bottom-color: var(--coral);
}

/* ---------- 海浪分隔 ---------- */
.page-home .wave-divider {
  display: block;
  margin: 0;
}

.page-home .wave-divider img {
  display: block;
  width: 100%;
  height: clamp(84px, 11vw, 150px);
  object-fit: cover;
  object-position: center;
}

/* ---------- 调整摘要 ---------- */
.page-home .updates {
  padding: clamp(48px, 6.5vw, 96px) 0;
  background: var(--pearl);
}

.page-home .updates-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.page-home .updates-figure {
  margin: 0;
}

.page-home .updates-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.page-home .updates-figure figcaption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--muted);
}

.page-home .updates-eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .18em;
  color: var(--sea);
}

.page-home .updates-title {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.22;
  letter-spacing: -.015em;
  font-weight: 900;
  color: var(--deep);
}

.page-home .updates-lead {
  margin: 0 0 clamp(20px, 2.6vw, 30px);
  max-width: 62ch;
  font-size: .96rem;
  line-height: 1.9;
  color: #44576A;
}

.page-home .update-list {
  counter-reset: upd;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .update-item {
  counter-increment: upd;
  position: relative;
  padding: 18px 20px 18px 62px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}

.page-home .update-item:hover {
  border-color: var(--coral);
  transform: translateY(-2px);
  box-shadow: 0 22px 46px -34px rgba(11, 46, 79, .72);
}

.page-home .update-item::before {
  content: counter(upd, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 19px;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .05em;
  color: var(--coral);
}

.page-home .update-item h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--deep);
}

.page-home .update-item p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.8;
  color: #44576A;
}

.page-home .update-details {
  margin: 0 0 22px;
  border: 1px dashed rgba(11, 46, 79, .22);
  border-radius: var(--radius);
  background: var(--sea-soft);
}

.page-home .update-details summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  font-size: .96rem;
  font-weight: 700;
  color: var(--deep);
}

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

.page-home .update-details summary::before {
  content: "＋";
  flex: none;
  font-family: var(--font-mono);
  color: var(--coral);
}

.page-home .update-details[open] summary::before {
  content: "－";
}

.page-home .update-details p {
  margin: 0;
  padding: 0 18px 18px;
  font-size: .92rem;
  line-height: 1.85;
  color: #33475A;
}

/* ---------- 新手指引 ---------- */
.page-home .guide {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 6vw, 92px) 0;
  background: linear-gradient(180deg, var(--sea-soft) 0%, #EFF6FC 100%);
}

.page-home .guide-eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .18em;
  color: var(--sea);
}

.page-home .guide-title {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.22;
  letter-spacing: -.015em;
  font-weight: 900;
  color: var(--deep);
}

.page-home .guide-lead {
  margin: 0 0 clamp(22px, 3vw, 34px);
  max-width: 66ch;
  font-size: .96rem;
  line-height: 1.9;
  color: #3B4E60;
}

.page-home .guide-track {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 12px 0 16px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.page-home .guide-step {
  position: relative;
  flex: 0 0 76%;
  scroll-snap-align: start;
  padding: 20px 18px 22px;
  border: 1px solid rgba(11, 46, 79, .13);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}

.page-home .guide-step:hover {
  border-color: var(--sea);
  transform: translateY(-3px);
  box-shadow: 0 22px 46px -34px rgba(11, 46, 79, .8);
}

.page-home .guide-num {
  display: block;
  margin-bottom: 8px;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: rgba(11, 46, 79, .18);
}

.page-home .guide-step h3 {
  margin: 0 0 6px;
  font-size: .98rem;
  font-weight: 700;
  color: var(--deep);
}

.page-home .guide-step p {
  margin: 0;
  font-size: .86rem;
  line-height: 1.76;
  color: #526475;
}

.page-home .guide-step.is-key {
  border-color: var(--coral);
  background: linear-gradient(180deg, #fff 0%, var(--coral-soft) 100%);
  box-shadow: 0 24px 48px -32px rgba(255, 107, 74, .95);
}

.page-home .guide-step.is-key .guide-num {
  color: var(--coral);
}

.page-home .guide-flag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: .68rem;
  letter-spacing: .1em;
}

.page-home .guide-foot {
  margin: 18px 0 0;
  font-size: .9rem;
  line-height: 1.9;
  color: #3B4E60;
}

/* ---------- 记录与客服 ---------- */
.page-home .support {
  padding: clamp(48px, 6vw, 88px) 0;
  background: var(--pearl);
}

.page-home .support-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 52px);
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(255, 107, 74, .2), transparent 60%),
    linear-gradient(140deg, #0B2E4F 0%, #0A3255 60%, #123E65 100%);
}

.page-home .support-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .55;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 88px 88px;
}

.page-home .support-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3vw, 44px);
  align-items: start;
}

.page-home .support-eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .18em;
  color: #7FB6DC;
}

.page-home .support-title {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.24;
  font-weight: 900;
  color: #fff;
}

.page-home .support-text {
  margin: 0 0 18px;
  max-width: 52ch;
  font-size: .95rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, .78);
}

.page-home .retention {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .02em;
  color: #fff;
}

.page-home .retention-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 107, 74, .25);
}

.page-home .support-actions {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.page-home .support-row {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .07);
}

.page-home .support-label {
  font-size: .72rem;
  letter-spacing: .18em;
  color: #7FB6DC;
}

.page-home .support-value {
  font-size: .95rem;
  line-height: 1.7;
  color: #fff;
  word-break: break-word;
}

.page-home .copy-btn {
  justify-self: start;
  margin-top: 8px;
}

.page-home .support-more {
  position: relative;
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  font-size: .9rem;
  line-height: 1.95;
  color: rgba(255, 255, 255, .74);
}

.page-home .support-more a {
  color: #9FD0EE;
  text-decoration: none;
  border-bottom: 1px solid rgba(159, 208, 238, .45);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}

.page-home .support-more a:hover,
.page-home .support-more a:focus-visible {
  color: var(--coral);
  border-bottom-color: var(--coral);
}

/* ---------- 常驻登录入口 ---------- */
.page-home .login-float {
  position: fixed;
  right: clamp(12px, 2.5vw, 26px);
  bottom: clamp(12px, 2.5vw, 26px);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 34px -14px rgba(255, 107, 74, .85);
  transition: transform .25s var(--ease), background .25s var(--ease);
}

.page-home .login-float::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  opacity: .9;
}

.page-home .login-float:hover,
.page-home .login-float:focus-visible {
  transform: translateY(-2px);
  background: #FF7F62;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .guide-step {
    flex: 0 0 46%;
  }
}

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

@media (min-width: 900px) {
  .page-home .hero-inner {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    gap: clamp(32px, 4.5vw, 64px);
  }

  .page-home .rank-head {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr);
  }

  .page-home .rank-figure {
    max-width: 100%;
  }

  .page-home .updates-grid {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  }

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

  .page-home .guide-track {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    overflow: visible;
    padding: 22px 0 6px;
  }

  .page-home .guide-step {
    flex: none;
  }

  .page-home .guide-step::after {
    content: "";
    position: absolute;
    top: 62px;
    right: -18px;
    width: 18px;
    height: 1px;
    background: rgba(11, 46, 79, .22);
  }

  .page-home .guide-step:last-child::after {
    display: none;
  }
}

@media (min-width: 1100px) {
  .page-home .updates-figure {
    position: sticky;
    top: 96px;
  }
}

@media (max-width: 520px) {
  .page-home .hero-index {
    margin-top: -42px;
  }

  .page-home .update-item {
    padding: 16px 16px 18px 52px;
  }

  .page-home .update-item::before {
    left: 16px;
    top: 17px;
  }

  .page-home .login-float {
    padding: 0 14px;
    min-height: 44px;
    font-size: .8rem;
  }
}
