.page-home {
  --home-line: rgba(185, 174, 196, 0.75);
  --home-hair: rgba(110, 94, 122, 0.24);
  background-color: var(--rice);
  color: var(--ink);
  font-family: var(--font-body);
}

/* ---------- 骨架：左索引 + 右信息流 ---------- */
.page-home .home-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  padding-block: 28px 72px;
}

@media (min-width: 1024px) {
  .page-home .home-wrap {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 60px;
    align-items: start;
    padding-block: 44px 96px;
  }
}

/* ---------- 左侧索引栏 ---------- */
.page-home .home-index {
  border-top: 3px solid var(--grape);
  padding-top: 18px;
  min-width: 0;
}

@media (min-width: 1024px) {
  .page-home .home-index-sticky {
    position: sticky;
    top: calc(var(--header-h) + 26px);
  }
}

.page-home .home-index .eyebrow {
  color: var(--grape-grey);
  letter-spacing: 0.16em;
}

.page-home .home-title {
  margin: 12px 0 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem);
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--grape-deep);
}

.page-home .home-lede {
  margin: 16px 0 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--graphite);
}

.page-home .home-facts {
  margin: 26px 0 0;
  padding: 18px 0 0;
  border-top: 1px dashed var(--home-line);
  display: grid;
  gap: 12px;
}

.page-home .home-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.page-home .home-facts dt {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--grape-grey);
}

.page-home .home-facts dd {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink);
  white-space: nowrap;
}

.page-home .home-facts .stat-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  color: var(--grape);
}

.page-home .home-index-nav {
  margin-top: 26px;
  display: grid;
  gap: 2px;
  border-left: 2px solid var(--vine);
}

.page-home .home-index-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 0.9375rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--home-hair);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
    padding-inline-start var(--dur) var(--ease);
}

.page-home .home-index-link:last-child {
  border-bottom: 0;
}

.page-home .home-index-link .mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--grape-grey);
  transition: color var(--dur) var(--ease);
}

.page-home .home-index-link:hover,
.page-home .home-index-link:focus-visible {
  background-color: var(--mist);
  color: var(--grape-deep);
  padding-inline-start: 18px;
}

.page-home .home-index-link:hover .mono,
.page-home .home-index-link:focus-visible .mono {
  color: var(--cinnabar);
}

@media (max-width: 640px) {
  .page-home .home-index-nav {
    border-left: 0;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .page-home .home-index-link {
    border: 1px solid var(--vine);
    border-radius: 999px;
    padding: 7px 14px;
    white-space: nowrap;
  }

  .page-home .home-index-link:last-child {
    border-bottom: 1px solid var(--vine);
  }

  .page-home .home-index-link:hover,
  .page-home .home-index-link:focus-visible {
    padding-inline-start: 14px;
  }
}

.page-home .home-index-figure {
  margin: 28px 0 0;
}

.page-home .home-index-figure .figure-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  background-color: var(--mist);
}

@media (max-width: 1023px) {
  .page-home .home-index-figure .figure-media {
    aspect-ratio: 16 / 9;
  }
}

.page-home .home-index-figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

/* ---------- 右侧信息流 ---------- */
.page-home .home-feed {
  display: grid;
  gap: 52px;
  min-width: 0;
}

@media (min-width: 1024px) {
  .page-home .home-feed {
    gap: 84px;
  }
}

.page-home .home-block {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.page-home .home-block--tight {
  padding-top: 4px;
}

.page-home .home-block-head {
  display: grid;
  gap: 6px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--home-hair);
}

.page-home .home-block-head .eyebrow {
  color: var(--grape-grey);
  letter-spacing: 0.16em;
}

.page-home .home-block-title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.75rem);
  line-height: 1.38;
  color: var(--grape-deep);
}

.page-home .home-block-note {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--graphite);
}

.page-home .home-block-foot {
  margin: 22px 0 0;
}

/* ---------- 本周索引快照 ---------- */
.page-home .home-snapshot {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .home-snap-item {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 20px 20px;
  background-color: var(--paper);
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.page-home .home-snap-item::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(185, 174, 196, 0.5);
  border-radius: calc(var(--radius) - 4px);
  pointer-events: none;
}

.page-home .home-snap-item:hover {
  transform: translateY(-3px);
  border-color: var(--grape);
  box-shadow: var(--shadow-lift);
}

@media (min-width: 900px) {
  .page-home .home-snap-item:nth-child(odd) {
    margin-inline-end: 36px;
  }

  .page-home .home-snap-item:nth-child(even) {
    margin-inline-start: 36px;
  }
}

.page-home .home-snap-item .index-number {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.625rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--grape);
}

.page-home .home-snap-body {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.page-home .home-snap-title {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink);
}

.page-home .home-snap-note {
  margin: 0 0 12px;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--graphite);
}

.page-home .home-snap-item .tag-row {
  flex-wrap: wrap;
  align-items: center;
}

.page-home .home-snap-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--grape-grey);
  margin-inline-start: auto;
}

/* ---------- 旧地址指引 ---------- */
.page-home .home-guide {
  display: grid;
  gap: 28px;
}

@media (min-width: 860px) {
  .page-home .home-guide {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }
}

.page-home .home-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-home .home-steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--home-line);
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--ink);
}

.page-home .home-steps li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .home-steps .mono {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--cinnabar);
}

.page-home .home-guide-note {
  margin: 20px 0 22px;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--grape-grey);
}

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

.page-home .home-guide-figure {
  margin: 0;
  padding: 12px;
  background-color: var(--mist);
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
}

.page-home .home-guide-figure .figure-media {
  aspect-ratio: 9 / 7;
  overflow: hidden;
  border-radius: calc(var(--radius) - 4px);
  background-color: var(--paper);
}

.page-home .home-guide-figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.page-home .home-guide-figure .figure-caption {
  margin-top: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--grape-grey);
}

/* ---------- 常用位置 ---------- */
.page-home .home-block--tinted {
  padding: 24px 20px 30px;
  border: 1px solid var(--home-line);
  border-radius: 14px;
  background-image: linear-gradient(180deg, var(--mist), rgba(245, 240, 232, 0.4));
}

@media (min-width: 720px) {
  .page-home .home-block--tinted {
    padding: 32px 30px 36px;
  }
}

.page-home .home-band-figure {
  margin: 0 0 24px;
}

.page-home .home-band-figure .figure-media {
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border: 1px solid rgba(185, 174, 196, 0.6);
  border-radius: calc(var(--radius) - 2px);
}

.page-home .home-band-figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.page-home .home-entry-grid {
  display: grid;
  gap: 16px;
}

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

.page-home .home-entry {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 20px 18px;
  background-color: var(--paper);
  border: 1px solid var(--vine);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.page-home .home-entry:hover,
.page-home .home-entry:focus-visible {
  transform: translateY(-4px);
  border-color: var(--grape);
  box-shadow: var(--shadow-lift);
}

@media (min-width: 640px) {
  .page-home .home-entry:nth-child(even) {
    margin-top: 26px;
  }
}

.page-home .home-entry-code {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--grape-grey);
}

.page-home .home-entry-title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.45;
  color: var(--grape-deep);
}

.page-home .home-entry-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--graphite);
}

.page-home .home-entry-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--home-line);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--moss);
}

.page-home .home-entry-meta::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--moss);
}

/* ---------- 公告与客服 ---------- */
.page-home .home-notice-grid {
  display: grid;
  gap: 22px;
}

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

.page-home .home-notice-card .card-note,
.page-home .home-contact-card .card-note {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--graphite);
}

.page-home .home-notice-list {
  list-style: none;
  margin: 16px 0 18px;
  padding: 0;
  display: grid;
  gap: 9px;
}

.page-home .home-notice-list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--graphite);
}

.page-home .home-notice-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--vine);
}

.page-home .home-seal-figure {
  width: 92px;
  height: 92px;
  margin: 0 0 18px;
  padding: 6px;
  background-color: var(--rice);
  border: 2px solid var(--cinnabar);
  border-radius: 16px;
  transform: rotate(-11deg);
  overflow: hidden;
}

.page-home .home-seal-figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.page-home .home-contact-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 12px;
}

.page-home .home-contact-line .mono {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  color: var(--grape-deep);
  overflow-wrap: anywhere;
}

.page-home .home-contact-line a.mono {
  text-decoration: none;
  border-bottom: 1px solid var(--vine);
  padding-bottom: 2px;
}

.page-home .home-contact-line a.mono:hover,
.page-home .home-contact-line a.mono:focus-visible {
  border-bottom-color: var(--cinnabar);
  color: var(--cinnabar);
}

.page-home .home-contact-card .copy-btn {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  padding: 5px 12px;
  border: 1px solid var(--grape);
  border-radius: 999px;
  background-color: transparent;
  color: var(--grape);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.page-home .home-contact-card .copy-btn:hover,
.page-home .home-contact-card .copy-btn:focus-visible {
  background-color: var(--grape);
  color: var(--rice);
}

/* ---------- 更新节奏 ---------- */
.page-home .home-rhythm {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--grape);
}

.page-home .home-rhythm li {
  display: grid;
  gap: 4px;
  padding: 16px 2px;
  border-bottom: 1px dashed var(--home-line);
}

@media (min-width: 720px) {
  .page-home .home-rhythm li {
    grid-template-columns: 168px minmax(0, 1fr);
    align-items: baseline;
    gap: 22px;
  }
}

.page-home .home-rhythm-when {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--grape);
}

.page-home .home-rhythm-what {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--graphite);
}

.page-home .home-rhythm-note {
  margin: 18px 0 22px;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--grape-grey);
}

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

/* ---------- 长文与窄屏保护 ---------- */
.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home .home-title,
.page-home .home-snap-title,
.page-home .home-entry-title {
  overflow-wrap: anywhere;
}

.page-home :focus-visible {
  outline: 2px solid var(--cinnabar);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .page-home .home-snap-item:hover,
  .page-home .home-entry:hover {
    transform: none;
  }
}
