.page-home {
  overflow-x: clip;
}

.page-home .eyebrow--light {
  color: var(--gold);
}

.page-home .eyebrow--ink {
  color: var(--ink);
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  padding-block: clamp(28px, 5vw, 60px) clamp(40px, 6vw, 84px);
  overflow: hidden;
}

.page-home .hero-grid {
  display: grid;
  gap: clamp(30px, 5vw, 56px);
  align-items: center;
}

.page-home .hero-copy,
.page-home .hero-art {
  min-width: 0;
}

.page-home .hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0.18em 0 0.5em;
  color: var(--ink);
}

.page-home .hero .lede {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.8;
  margin: 0 0 1.7em;
  max-width: 34em;
}

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

.page-home .hero-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
}

.page-home .hero-facts li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.page-home .hero-facts .mono {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--coral-dark);
}

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

.page-home .hero-frame {
  margin: 0;
  border-radius: 24px 6px 24px 6px;
  overflow: hidden;
  transform: rotate(-2.5deg);
  background: var(--deep);
  box-shadow: 0 30px 70px -34px rgba(6, 59, 68, 0.6);
}

.page-home .hero-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-home .ball-grid {
  position: absolute;
  right: 6px;
  bottom: -22px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 8px;
  transform: rotate(-6deg);
}

.page-home .ball-grid span {
  width: clamp(34px, 5vw, 46px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--deep);
  background: var(--gold);
  box-shadow: inset 0 -4px 0 rgba(6, 59, 68, 0.16);
  animation: home-bob 5.4s ease-in-out infinite;
}

.page-home .ball-grid span:nth-child(2n) {
  background: var(--mint);
  animation-delay: 0.5s;
}

.page-home .ball-grid span:nth-child(3n) {
  background: var(--coral);
  color: var(--ink);
  animation-delay: 1s;
}

@keyframes home-bob {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -5px, 0); }
}

/* ---------- 双入口 ---------- */
.page-home .entry {
  padding-block: clamp(46px, 7vw, 94px);
}

.page-home .entry-head {
  max-width: 44rem;
  margin-bottom: clamp(26px, 4vw, 46px);
}

.page-home .entry-head h2,
.page-home .rules-intro h2,
.page-home .track-head h2,
.page-home .rhythm h2,
.page-home .closing h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0.32em 0 0.5em;
}

.page-home .entry-head p:not(.eyebrow) {
  margin: 0;
  line-height: 1.8;
}

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

.page-home .entry-card {
  position: relative;
  background: var(--salt);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-card);
  padding: clamp(18px, 2.6vw, 30px);
  padding-top: calc(clamp(18px, 2.6vw, 30px) + 12px);
  overflow: hidden;
}

.page-home .entry-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(18px, 2.6vw, 30px);
  width: 52px;
  height: 4px;
  background: var(--coral);
  border-radius: 0 0 4px 4px;
}

.page-home .entry-figure {
  margin: 0 0 18px;
  border-radius: 14px 4px 14px 4px;
  overflow: hidden;
  background: var(--deep);
}

.page-home .entry-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .entry-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--coral-dark);
  margin: 0 0 8px;
}

.page-home .entry-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.3;
  margin: 0 0 10px;
}

.page-home .entry-card > p:not(.entry-kicker) {
  margin: 0 0 16px;
  line-height: 1.75;
}

.page-home .entry-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
}

.page-home .entry-tags li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  color: var(--deep);
  background: rgba(247, 243, 234, 0.65);
}

.page-home .entry-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--deep);
  text-decoration: none;
  border-bottom: 2px solid var(--mint);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.page-home .entry-link:hover,
.page-home .entry-link:focus-visible {
  color: var(--coral-dark);
  border-color: var(--coral);
}

/* ---------- 检索标签轨道 ---------- */
.page-home .track {
  background: var(--deep);
  color: var(--porcelain);
  padding-block: clamp(44px, 7vw, 86px) 0;
  overflow: hidden;
}

.page-home .track-head {
  max-width: 44rem;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.page-home .track-head h2 {
  color: var(--porcelain);
}

.page-home .track-head p:not(.eyebrow) {
  margin: 0;
  line-height: 1.8;
  color: rgba(247, 243, 234, 0.82);
}

.page-home .track-groups {
  display: grid;
  gap: clamp(16px, 2.4vw, 26px);
  min-width: 0;
}

.page-home .track-group {
  border-top: 1px solid var(--line-light);
  padding-top: 14px;
  min-width: 0;
}

.page-home .track-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.page-home .track-label span {
  color: rgba(247, 243, 234, 0.5);
}

.page-home .track-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.page-home .pill {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-light);
  color: var(--porcelain);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.page-home .pill:hover,
.page-home .pill:focus-visible {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--deep);
}

.page-home .track-visual {
  margin: clamp(32px, 5vw, 56px) 0 0;
}

.page-home .track-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

/* ---------- 规则速读 ---------- */
.page-home .rules {
  padding-block: clamp(46px, 7vw, 98px);
}

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

.page-home .rules-intro p:not(.eyebrow) {
  margin: 0 0 22px;
  line-height: 1.8;
}

.page-home .rules-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.page-home .text-link {
  font-weight: 600;
  color: var(--deep);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

.page-home .text-link:hover,
.page-home .text-link:focus-visible {
  color: var(--coral-dark);
  border-color: var(--coral);
}

.page-home .rule-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
}

.page-home .rule-list li {
  display: grid;
  gap: 4px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line-dark);
}

.page-home .rule-num {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--coral-dark);
}

.page-home .rule-list h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.4;
}

.page-home .rule-list p {
  margin: 0;
  line-height: 1.75;
}

/* ---------- 版本节奏 ---------- */
.page-home .rhythm {
  background: var(--teal);
  color: var(--porcelain);
  padding-block: clamp(44px, 7vw, 90px);
}

.page-home .rhythm h2 {
  color: var(--porcelain);
}

.page-home .rhythm-head p:not(.eyebrow) {
  margin: 0;
  max-width: 42rem;
  line-height: 1.8;
  color: rgba(247, 243, 234, 0.85);
}

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

.page-home .rhythm-list li {
  border-top: 2px solid var(--gold);
  padding-top: 14px;
}

.page-home .rhythm-num {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.page-home .rhythm-list h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.page-home .rhythm-list p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(247, 243, 234, 0.85);
}

.page-home .rhythm-details {
  margin-top: clamp(24px, 4vw, 36px);
  padding: 14px 18px;
  border: 1px solid var(--line-light);
  border-radius: 14px 4px 14px 4px;
  background: rgba(6, 59, 68, 0.34);
}

.page-home .rhythm-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

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

.page-home .rhythm-details summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--gold);
}

.page-home .rhythm-details[open] summary::after {
  content: "−";
}

.page-home .rhythm-details p {
  margin: 12px 0 0;
  line-height: 1.8;
  color: rgba(247, 243, 234, 0.85);
}

.page-home .rhythm-link {
  display: inline-block;
  margin-top: 22px;
  font-weight: 600;
  color: var(--porcelain);
  text-decoration: none;
  border-bottom: 2px solid var(--mint);
  padding-bottom: 2px;
}

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

/* ---------- 珊瑚橙收束 ---------- */
.page-home .closing {
  background: var(--coral);
  color: var(--ink);
  padding-block: clamp(40px, 6vw, 74px);
}

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

.page-home .closing h2 {
  color: var(--ink);
}

.page-home .closing p:not(.eyebrow) {
  margin: 0;
  max-width: 40rem;
  line-height: 1.8;
}

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

.page-home .closing-mail {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  background: rgba(11, 15, 18, 0.1);
  padding: 8px 12px;
  border-radius: 8px;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.page-home .closing-note {
  font-size: 0.85rem;
}

/* ---------- 断点 ---------- */
@media (min-width: 620px) {
  .page-home .rule-list li {
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 20px;
    align-items: baseline;
  }

  .page-home .rule-num {
    grid-row: 1 / span 2;
    padding-top: 2px;
  }
}

@media (min-width: 800px) {
  .page-home .rhythm-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
  }
}

@media (min-width: 860px) {
  .page-home .entry-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: start;
  }

  .page-home .entry-card--offset {
    margin-top: 54px;
  }

  .page-home .closing-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: center;
  }
}

@media (min-width: 940px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  }

  .page-home .hero-art {
    padding-bottom: 18px;
  }
}

@media (min-width: 960px) {
  .page-home .rules-grid {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .ball-grid span {
    animation: none;
  }

  .page-home .hero-frame {
    transform: none;
  }
}
<<<END>>>
