.page-home .hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.25rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(95% 60% at 88% 2%, rgba(227, 178, 75, 0.3), rgba(227, 178, 75, 0) 62%),
    linear-gradient(180deg, #FBF6EC 0%, var(--c-ivory) 72%);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(23, 17, 15, 0.1) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.3;
  pointer-events: none;
}

.page-home .hero__inner {
  position: relative;
  z-index: 1;
}

.page-home .hero__ctx {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.1rem;
  padding: 0.35rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--c-red);
  background: rgba(193, 18, 31, 0.07);
  border: 1px solid rgba(193, 18, 31, 0.2);
}

.page-home .hero__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-jade);
}

.page-home .hero__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(2.3rem, 8.5vw, 5rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
  color: var(--c-ink);
  text-shadow: 3px 3px 0 rgba(227, 178, 75, 0.62);
}

.page-home .hero__lede {
  max-width: 44ch;
  margin: 1.25rem 0 0;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.85;
  color: #3A2F29;
}

.page-home .hero__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .hero__step {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.75rem;
  font-size: 0.82rem;
  color: var(--c-ink);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
}

.page-home .hero__stepnum {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--c-gold-deep);
}

.page-home .hero__cols {
  display: grid;
  gap: 1.75rem;
  margin-top: clamp(2rem, 5vw, 3.25rem);
}

.page-home .qiantong {
  position: relative;
  padding: 1rem 1.1rem 1.25rem;
  border: 1px solid var(--c-line);
  background: linear-gradient(180deg, rgba(237, 225, 203, 0.9), rgba(247, 241, 230, 0.6));
}

.page-home .qiantong__cap {
  margin: 0 0 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--c-gold-deep);
}

.page-home .qiantong__cap span {
  margin-left: 0.5rem;
  color: rgba(23, 17, 15, 0.38);
}

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

.page-home .qiantong__item {
  border-bottom: 1px dashed var(--c-line);
}

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

.page-home .qiantong__link {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.6rem;
  padding: 0.6rem 0.25rem;
  text-decoration: none;
  color: var(--c-ink);
  transition: transform 0.25s var(--ease), color 0.2s var(--ease);
}

.page-home .qiantong__num {
  margin-right: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--c-gold-deep);
}

.page-home .qiantong__label {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.98rem;
}

.page-home .qiantong__sub {
  flex-basis: 100%;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  color: #71655A;
}

.page-home .qiantong__link:hover,
.page-home .qiantong__link:focus-visible {
  transform: translateX(5px);
  color: var(--c-red);
}

.page-home .qiantong__link:focus-visible {
  outline: 2px solid var(--c-purple);
  outline-offset: 2px;
}

.page-home .qiantong__deco {
  display: none;
}

.page-home .hero__stage {
  position: relative;
}

.page-home .hero__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--c-ink);
  border: 1px solid var(--c-gold-deep);
  box-shadow: var(--shadow-stamp);
}

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

.page-home .hero__cards {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1rem;
  margin-top: -2.25rem;
  padding-inline: clamp(0.75rem, 4vw, 2.5rem);
}

.page-home .entrycard {
  position: relative;
  display: block;
  padding: 1.15rem 1.25rem 1.3rem;
  text-decoration: none;
  color: var(--c-ink);
  background: var(--c-ivory);
  border: 1px solid var(--c-ink);
  box-shadow: 5px 5px 0 rgba(227, 178, 75, 0.65);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-home .entrycard--red {
  color: var(--c-ivory);
  background: var(--c-red);
  border-color: var(--c-red-deep);
  box-shadow: 5px 5px 0 rgba(23, 17, 15, 0.85);
}

.page-home .entrycard__seal {
  display: block;
  margin-bottom: 0.5rem;
  opacity: 0.85;
}

.page-home .entrycard__kicker {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  opacity: 0.8;
}

.page-home .entrycard__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.24rem;
  letter-spacing: 0.02em;
}

.page-home .entrycard__text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.7;
  opacity: 0.92;
}

.page-home .entrycard__go {
  display: inline-block;
  margin-top: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  border-bottom: 1px solid currentColor;
}

.page-home .entrycard:hover,
.page-home .entrycard:focus-visible {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 7px 9px 0 rgba(227, 178, 75, 0.88);
}

.page-home .entrycard--red:hover,
.page-home .entrycard--red:focus-visible {
  box-shadow: 7px 9px 0 rgba(23, 17, 15, 0.92);
}

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

/* 通用章节 */
.page-home .band {
  padding: clamp(2.75rem, 6.5vw, 5rem) 0;
}

.page-home .band--paper {
  background: var(--c-paper);
}

.page-home .band--ink {
  background: var(--c-ink);
  color: var(--c-ivory);
}

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

.page-home .band__title {
  margin: 0.5rem 0 0;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(1.5rem, 3.6vw, 2.3rem);
  line-height: 1.22;
  letter-spacing: 0.01em;
  color: var(--c-ink);
}

.page-home .band--ink .band__title {
  color: var(--c-ivory);
}

.page-home .band__text {
  max-width: 56ch;
  margin: 1rem 0 0;
  font-size: 0.96rem;
  line-height: 1.85;
  color: #4A3D35;
}

.page-home .band--ink .band__text {
  color: rgba(247, 241, 230, 0.78);
}

/* 旧版主页通道 */
.page-home .legacy__grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.page-home .legacy__figure {
  margin: 0;
  padding: 0.75rem;
  background: #EFE6D6;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-paper);
}

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

.page-home .legacy__list {
  display: grid;
  gap: 0.6rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .legacy__list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.93rem;
  line-height: 1.72;
  color: #3A2F29;
}

.page-home .legacy__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.7rem;
  height: 2px;
  background: var(--c-gold);
}

.page-home .legacy__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* 十分钟节奏 */
.page-home .pace__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.page-home .pace__figure {
  margin: 0;
  overflow: hidden;
  background: var(--c-ink);
  border: 1px solid var(--c-ink);
  box-shadow: -7px 7px 0 rgba(193, 18, 31, 0.32);
}

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

.page-home .pace__scenes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .pace__scenes li {
  padding: 0.36rem 0.72rem;
  font-size: 0.8rem;
  color: #4A3D35;
  background: var(--c-ivory);
  border: 1px solid var(--c-line);
}

.page-home .pace__actions {
  margin-top: 1.5rem;
}

/* 玩家规模 */
.page-home .scale__head {
  max-width: 52ch;
}

.page-home .scale__stats {
  display: grid;
  gap: 1px;
  margin: clamp(1.75rem, 4vw, 2.75rem) 0 0;
  padding: 0;
  list-style: none;
  background: rgba(227, 178, 75, 0.28);
  border: 1px solid rgba(227, 178, 75, 0.28);
}

.page-home .scale__stat {
  padding: 1.5rem 1.35rem;
  background: rgba(247, 241, 230, 0.035);
}

.page-home .scale__num {
  display: block;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(1.8rem, 4.5vw, 2.75rem);
  line-height: 1;
  color: var(--c-gold);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.page-home .scale__label {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: rgba(247, 241, 230, 0.72);
}

/* 版本与排查 */
.page-home .patch__grid {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

.page-home .patch__plate {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  text-align: center;
  background: var(--c-paper);
  border: 2px solid var(--c-ink);
  box-shadow: 6px 6px 0 rgba(227, 178, 75, 0.5);
}

.page-home .patch__plate-label {
  display: block;
  margin-bottom: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--c-gold-deep);
}

.page-home .patch__num {
  display: inline-block;
  padding: 0.15rem 0.4rem 0.3rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.9rem, 6vw, 2.9rem);
  letter-spacing: 0.08em;
  color: var(--c-red);
  background: transparent;
  border: 0;
  border-bottom: 2px dashed var(--c-gold-deep);
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .patch__num:hover {
  color: var(--c-red-deep);
  border-bottom-color: var(--c-red);
}

.page-home .patch__num:focus-visible {
  outline: 2px solid var(--c-purple);
  outline-offset: 4px;
}

.page-home .patch__num[data-copy-state]:not([data-copy-state="idle"]) {
  color: var(--c-jade);
}

.page-home .patch__copy-hint {
  display: block;
  margin: 0.7rem 0 0;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  color: #71655A;
}

.page-home .patch__points {
  display: grid;
  gap: 0.55rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .patch__points li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.9rem;
  line-height: 1.72;
  color: #4A3D35;
}

.page-home .patch__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 0.65rem;
  height: 2px;
  background: var(--c-red);
}

.page-home .patch__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* 小问答 */
.page-home .ask__list {
  display: grid;
  gap: 1px;
  margin: clamp(1.5rem, 3vw, 2rem) 0 0;
  padding: 0;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}

.page-home .ask__item {
  padding: 1.2rem 1.35rem 1.3rem;
  background: var(--c-ivory);
}

.page-home .ask__q {
  margin: 0 0 0.45rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-ink);
}

.page-home .ask__a {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: #4A3D35;
}

/* 收尾 */
.page-home .outro {
  padding: clamp(2.75rem, 7vw, 5rem) 0 clamp(4rem, 10vw, 8rem);
  background: var(--c-ivory);
}

.page-home .outro__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid var(--c-line);
}

.page-home .outro__line {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(1.25rem, 3vw, 1.9rem);
  color: var(--c-ink);
}

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

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

@media (min-width: 720px) {
  .page-home .hero__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .page-home .entrycard:nth-child(1) {
    transform: rotate(-2deg);
  }

  .page-home .entrycard:nth-child(2) {
    transform: rotate(1.4deg);
  }
}

@media (min-width: 880px) {
  .page-home .legacy__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(2rem, 5vw, 4rem);
  }

  .page-home .pace__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(2rem, 5vw, 4rem);
  }

  .page-home .patch__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: clamp(2rem, 5vw, 3.5rem);
  }
}

@media (min-width: 900px) {
  .page-home .hero__cols {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: start;
  }

  .page-home .qiantong {
    writing-mode: vertical-rl;
    min-height: 460px;
    padding: 1.5rem 1rem 1.5rem;
  }

  .page-home .qiantong__cap {
    margin: 0 0.75rem 0 0;
    letter-spacing: 0.3em;
  }

  .page-home .qiantong__cap span {
    display: block;
    margin: 0.6rem 0 0;
  }

  .page-home .qiantong__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .page-home .qiantong__item {
    border-bottom: 0;
    border-left: 1px dashed var(--c-line);
  }

  .page-home .qiantong__link {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.45rem;
    padding: 0.3rem 0.55rem 0.3rem 0.35rem;
  }

  .page-home .qiantong__num {
    margin: 0 0 0.35rem;
  }

  .page-home .qiantong__sub {
    flex-basis: auto;
    font-size: 0.7rem;
  }

  .page-home .qiantong__link:hover,
  .page-home .qiantong__link:focus-visible {
    transform: translateX(0) translateY(6px);
  }

  .page-home .qiantong__deco {
    display: block;
    writing-mode: horizontal-tb;
    width: 118px;
    height: auto;
    margin: 1.25rem 0 0;
    object-fit: cover;
  }
}

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