/* ============================================================
   首页 —— 太阳轨迹穿过数字索引
   作用域：.page-home
   ============================================================ */

.page-home {
  background: var(--deep);
  color: var(--paper);
  font-family: var(--font-display);
  overflow-x: hidden;
}

/* ---------- 面包屑上下文 ---------- */

.page-home .breadcrumb {
  padding: 18px 0 0;
}

.page-home .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.page-home .breadcrumb li {
  color: var(--dim);
}

.page-home .breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--grid);
}

.page-home .breadcrumb a {
  color: var(--mist);
  text-decoration: none;
}

.page-home .breadcrumb a:hover,
.page-home .breadcrumb a:focus-visible {
  color: var(--sun);
}

/* ---------- 首屏：放射状太阳轨迹 ---------- */

.page-home .hero {
  position: relative;
  isolation: isolate;
  padding: 40px 0 52px;
  overflow: hidden;
}

.page-home .hero-veil {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.4;
}

.page-home .hero-veil img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 38%;
}

.page-home .hero-veil::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 18, 48, 0.42) 0%,
    rgba(11, 18, 48, 0.86) 58%,
    var(--deep) 100%
  );
}

.page-home .hero-rings {
  position: absolute;
  top: -210px;
  right: -180px;
  width: min(740px, 122vw);
  aspect-ratio: 1;
  z-index: -2;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 14deg at 50% 50%,
    rgba(255, 122, 26, 0.24) 0deg 1deg,
    rgba(255, 122, 26, 0) 1deg 8deg
  );
  -webkit-mask-image: radial-gradient(
    circle at 50% 50%,
    #000 8%,
    rgba(0, 0, 0, 0.5) 34%,
    transparent 68%
  );
  mask-image: radial-gradient(
    circle at 50% 50%,
    #000 8%,
    rgba(0, 0, 0, 0.5) 34%,
    transparent 68%
  );
  pointer-events: none;
}

.page-home .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.page-home .hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-home .hero-copy .eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.page-home .hero h1 {
  margin: 0;
  font-size: clamp(1.85rem, 7.4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: var(--paper);
}

.page-home .hero .lead {
  margin: 0;
  max-width: 46ch;
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--mist);
}

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

.page-home .hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 0;
  margin: 4px 0 0;
  padding: 18px 0 0;
  border-top: var(--line);
}

.page-home .fact {
  flex: 1 1 86px;
  min-width: 0;
  padding-right: 18px;
  margin-right: 18px;
  border-right: 1px solid var(--grid);
}

.page-home .fact:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: 0;
}

.page-home .fact dt {
  margin: 0 0 5px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--dim);
}

.page-home .fact dd {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  color: var(--sun);
}

.page-home .fact dd span {
  margin-left: 3px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.page-home .hero-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  clip-path: polygon(5% 0, 100% 5%, 95% 100%, 0 94%);
}

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

/* ---------- 章节通用骨架 ---------- */

.page-home .chapter {
  position: relative;
  padding: 46px 0;
}

.page-home .chapter-head {
  padding-top: 20px;
  margin-bottom: 26px;
  border-top: var(--line);
}

.page-home .chapter-num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--sun);
}

.page-home .chapter-title {
  margin: 0;
  max-width: 24ch;
  font-size: clamp(1.4rem, 5vw, 2.05rem);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.012em;
}

.page-home .chapter-sub {
  margin: 12px 0 0;
  max-width: 52ch;
  font-size: 0.92rem;
  line-height: 1.78;
  color: var(--mist);
}

.page-home .chapter-cta {
  margin-top: 26px;
}

/* 章节底色交替 */

.page-home .chapter--shift {
  background: var(--deep-2);
}

.page-home .chapter--deep {
  background: linear-gradient(180deg, var(--deep) 0%, var(--deep-2) 100%);
}

.page-home .chapter--paper {
  background: var(--paper);
  color: var(--ink);
}

.page-home .chapter--paper .chapter-head {
  border-top-color: rgba(10, 10, 15, 0.18);
}

.page-home .chapter--paper .chapter-num {
  color: var(--crimson);
}

.page-home .chapter--paper .chapter-sub {
  color: #4d5468;
}

/* ---------- 02 两步路径 ---------- */

.page-home .path-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin-bottom: 26px;
  background: var(--grid);
  border: var(--line);
}

.page-home .path-cell {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px 26px;
  background: var(--deep);
}

.page-home .path-idx {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--cyan);
}

.page-home .path-cell h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.3;
  color: var(--paper);
}

.page-home .path-cell p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.78;
  color: var(--mist);
}

.page-home .path-link {
  align-self: flex-start;
  margin-top: 4px;
  padding-bottom: 3px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--sun);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 122, 26, 0.5);
}

.page-home .path-link:hover,
.page-home .path-link:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.page-home .tag-band {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 0 14px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.page-home .tag-band > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

/* ---------- 03 翻新变化 ---------- */

.page-home .change-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .change-item {
  padding: 22px 0 24px;
  border-top: 2px solid var(--grid);
}

.page-home .change-item:first-child {
  border-top-color: var(--sun);
}

.page-home .change-item:nth-child(2) {
  border-top-color: var(--gold);
}

.page-home .change-item:nth-child(3) {
  border-top-color: var(--cyan);
}

.page-home .change-item:nth-child(4) {
  border-top-color: var(--crimson);
}

.page-home .change-kicker {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--dim);
}

.page-home .change-item h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.32;
  color: var(--paper);
}

.page-home .change-item p {
  margin: 0;
  max-width: 50ch;
  font-size: 0.9rem;
  line-height: 1.78;
  color: var(--mist);
}

/* ---------- 04 内容中心版本 ---------- */

.page-home .tally-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.page-home .tally-media {
  margin: 0;
}

.page-home .tally-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-left: 4px solid var(--sun);
}

.page-home .tally-media figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: #5a6070;
}

.page-home .tally-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-home .tag-tally {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(10, 10, 15, 0.16);
  border-left: 1px solid rgba(10, 10, 15, 0.16);
}

.page-home .tally-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 13px 12px;
  border-right: 1px solid rgba(10, 10, 15, 0.16);
  border-bottom: 1px solid rgba(10, 10, 15, 0.16);
}

.page-home .tally-num {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  color: var(--deep);
}

.page-home .tally-name {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: #5a6070;
}

.page-home .tally-note {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.78;
  color: #3d4354;
}

.page-home .tally-side .btn-ink {
  align-self: flex-start;
}

/* ---------- 05 换手机重登 ---------- */

.page-home .relogin-set {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--grid);
  border: var(--line);
}

.page-home .relogin {
  background: var(--deep-2);
}

.page-home .relogin summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px;
  cursor: pointer;
  list-style: none;
}

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

.page-home .relogin-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sun);
}

.page-home .relogin-label {
  flex: 1 1 auto;
  font-size: 1rem;
  font-weight: 700;
  color: var(--paper);
}

.page-home .relogin-cue {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
  white-space: nowrap;
}

.page-home .relogin[open] .relogin-cue {
  color: var(--dim);
}

.page-home .relogin[open] summary {
  border-bottom: 1px solid var(--grid);
}

.page-home .relogin-body {
  padding: 16px 18px 20px;
}

.page-home .relogin-body ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.page-home .relogin-body li {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 06 热门标签与厂商专区 ---------- */

.page-home .tag-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.page-home .vendor-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  background: var(--deep-2);
  border: var(--line);
}

.page-home .vendor-preview img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.page-home .vendor-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px 26px;
}

.page-home .vendor-copy .eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--crimson);
  background: rgba(142, 27, 44, 0.14);
  align-self: flex-start;
  padding: 3px 8px;
}

.page-home .vendor-copy h3 {
  margin: 0;
  font-size: 1.14rem;
  font-weight: 900;
  line-height: 1.34;
  color: var(--paper);
}

.page-home .vendor-copy p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.78;
  color: var(--mist);
}

.page-home .vendor-copy .btn-ink {
  align-self: flex-start;
  margin-top: 4px;
}

/* ---------- 收束段 ---------- */

.page-home .closing {
  padding: 52px 0 60px;
  border-top: 3px solid var(--sun);
  background: linear-gradient(
    132deg,
    var(--deep-2) 0%,
    var(--deep) 52%,
    rgba(142, 27, 44, 0.36) 100%
  );
}

.page-home .closing-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-home .closing-title {
  margin: 0;
  max-width: 24ch;
  font-size: clamp(1.35rem, 4.8vw, 1.95rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--paper);
}

.page-home .closing-note {
  margin: 0;
  max-width: 54ch;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--mist);
}

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

/* ---------- 响应式 ---------- */

@media (min-width: 640px) {
  .page-home .chapter {
    padding: 56px 0;
  }

  .page-home .tag-tally {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .relogin summary {
    padding: 20px 22px;
  }

  .page-home .relogin-body {
    padding: 18px 22px 22px;
  }
}

@media (min-width: 900px) {
  .page-home .hero {
    padding: 68px 0 82px;
  }

  .page-home .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 56px;
  }

  .page-home .hero-media img {
    aspect-ratio: 3 / 4;
    max-height: 520px;
  }

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

  .page-home .change-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 46px;
  }

  .page-home .tally-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 40px;
  }

  .page-home .vendor-preview {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  }

  .page-home .chapter {
    padding: 66px 0;
  }

  .page-home .chapter-head {
    margin-bottom: 34px;
  }

  .page-home .closing {
    padding: 68px 0 76px;
  }
}

@media (min-width: 1100px) {
  .page-home .tag-tally {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .page-home .relogin-set {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .relogin summary {
    flex-wrap: wrap;
  }
}

/* ---------- 动效与可访问性 ---------- */

@media (prefers-reduced-motion: no-preference) {
  .page-home .hero-copy > * {
    animation: home-rise 0.62s cubic-bezier(0.2, 0.72, 0.28, 1) both;
  }

  .page-home .hero-copy > *:nth-child(1) { animation-delay: 0.02s; }
  .page-home .hero-copy > *:nth-child(2) { animation-delay: 0.10s; }
  .page-home .hero-copy > *:nth-child(3) { animation-delay: 0.18s; }
  .page-home .hero-copy > *:nth-child(4) { animation-delay: 0.26s; }
  .page-home .hero-copy > *:nth-child(5) { animation-delay: 0.34s; }

  .page-home .hero-media {
    animation: home-rise 0.72s cubic-bezier(0.2, 0.72, 0.28, 1) 0.16s both;
  }

  .page-home .hero-rings {
    animation: home-breathe 11s ease-in-out infinite;
  }
}

@keyframes home-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes home-breathe {
  0%, 100% {
    opacity: 0.82;
    transform: rotate(0deg) scale(1);
  }
  50% {
    opacity: 1;
    transform: rotate(3.5deg) scale(1.035);
  }
}

.page-home .relogin summary:focus-visible,
.page-home .path-link:focus-visible,
.page-home .mono-tag:focus-visible,
.page-home .btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-home .tag-band::-webkit-scrollbar {
  height: 6px;
}

.page-home .tag-band::-webkit-scrollbar-track {
  background: rgba(42, 51, 80, 0.4);
}

.page-home .tag-band::-webkit-scrollbar-thumb {
  background: var(--grid);
}

.page-home .tag-band::-webkit-scrollbar-thumb:hover {
  background: var(--sun);
}
<<<END>>>
