.origin-page {
  padding: max(26px, env(safe-area-inset-top)) 28px max(23px, env(safe-area-inset-bottom));
  color: #17232d;
  background:
    linear-gradient(135deg, transparent 0 41%, rgba(255, 255, 255, 0.36) 41.2% 52%, transparent 52.2%),
    #e3dfd4;
}

.origin-page__texture {
  opacity: 0.33;
  background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 2px, rgba(67, 65, 56, 0.2) 2.4px 2.8px, transparent 3px 6px),
    linear-gradient(90deg, rgba(58, 51, 41, 0.08) 1px, transparent 1px);
  background-size: 12px 12px, 35px 35px;
}

.origin-page__red-slice {
  top: 23%;
  right: -27%;
  width: 64%;
  height: 132px;
  opacity: 1;
  background: linear-gradient(90deg, rgba(196, 13, 28, 0), rgba(207, 8, 24, 0.87) 42%, rgba(237, 61, 61, 0.64));
}

.origin-page__period {
  position: relative;
  z-index: 1;
  margin: 11px 0 0;
  color: rgba(34, 46, 55, 0.62);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.archive-photo {
  height: min(30svh, 251px);
  margin-top: 21px;
}

.origin-page__content {
  display: block;
  flex: 0 0 auto;
  margin: auto 0;
  padding: 25px 0 18px;
}

.origin-page__kicker {
  margin: 0 0 11px;
  color: #c6091d;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.origin-page h2 {
  margin: 0 0 18px;
  color: #182630;
  font-family: "Songti SC", SimSun, serif;
  font-size: clamp(29px, 8vw, 44px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.08em;
}

.origin-page__story {
  gap: 5px;
  max-width: 420px;
  color: #48545b;
  font-size: 13px;
  line-height: 1.8;
}

.origin-page__footer {
  margin: 0;
  padding: 0;
  color: rgba(49, 54, 53, 0.65);
  background: transparent;
}

.origin-page__footer span {
  font-family: "Songti SC", SimSun, serif;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.origin-page__actions {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 3px;
}

.origin-page__next,
.origin-page__back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.09em;
}

.origin-page__next {
  color: #b9081c;
  font-weight: 700;
}

.origin-page__back {
  border-bottom: 1px solid rgba(185, 9, 28, 0.52);
  color: #b9081c;
}

.origin-page__next svg,
.origin-page__back svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.origin-page__period,
.origin-page h2 {
  opacity: 0;
}

.origin-page.is-active .origin-page__period { animation: origin-rise 560ms ease-out 80ms both; }
.origin-page.is-active h2 { animation: origin-rise 700ms cubic-bezier(0.2, 0.82, 0.3, 1) 610ms both; }
.origin-page.is-active .origin-page__story span:nth-child(1) { animation-delay: 800ms; }
.origin-page.is-active .origin-page__story span:nth-child(2) { animation-delay: 960ms; }
.origin-page.is-active .origin-page__footer { animation-delay: 1160ms; }

@media (prefers-reduced-motion: reduce) {
  .origin-page__period,
  .origin-page h2 {
    opacity: 1;
  }
}
