:root {
  --paper: #fff8e8;
  --ink: #25232b;
  --muted: #736b74;
  --coral: #ff5a5f;
  --pink: #ff70a6;
  --blue: #4d96ff;
  --green: #35b779;
  --yellow: #ffd447;
  --purple: #8d6bff;
  --line: rgba(37, 35, 43, 0.2);
  --page-padding: clamp(22px, 6vw, 54px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  height: 100%;
  background: var(--paper);
}

body {
  min-width: 320px;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
}

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.password-gate {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  padding: max(34px, env(safe-area-inset-top)) var(--page-padding) max(34px, env(safe-area-inset-bottom));
  overflow: hidden;
  place-items: center;
  background: var(--paper);
  isolation: isolate;
  transition: opacity 320ms ease, transform 320ms cubic-bezier(0.2, 0.82, 0.2, 1);
}

.password-gate::before {
  position: absolute;
  inset: 0 0 auto;
  height: 9px;
  background: linear-gradient(90deg, var(--coral) 0 25%, var(--pink) 25% 45%, var(--yellow) 45% 65%, var(--green) 65% 82%, var(--blue) 82%);
  content: "";
}

.password-gate.is-unlocking {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-18px);
}

.password-gate__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
}

.password-gate__eyebrow {
  margin: 0 0 18px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.4;
  text-transform: uppercase;
}

.password-gate__title {
  max-width: 9em;
  margin: 0;
  font-family: "Arial Rounded MT Bold", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.18;
  text-shadow: 3px 3px 0 var(--yellow);
}

.password-gate__title span {
  display: block;
}

.password-form {
  display: grid;
  width: min(100%, 430px);
  margin-top: 38px;
  gap: 14px;
}

.password-form__field {
  position: relative;
}

.password-form__input {
  width: 100%;
  height: 66px;
  padding: 0 78px 0 20px;
  border: 3px solid var(--ink);
  border-radius: 6px;
  outline: none;
  color: var(--ink);
  background: #ffffff;
  box-shadow: 6px 6px 0 var(--pink);
  font-family: "Arial Rounded MT Bold", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 30px;
  font-weight: 850;
  letter-spacing: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.password-form__input:focus {
  border-color: var(--blue);
  box-shadow: 6px 6px 0 var(--yellow);
}

.password-form__count {
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  transform: translateY(-50%);
}

.password-form__submit {
  display: flex;
  min-height: 54px;
  padding: 0 18px;
  align-items: center;
  justify-content: space-between;
  border: 3px solid var(--ink);
  border-radius: 6px;
  color: #ffffff;
  background: var(--blue);
  box-shadow: 5px 5px 0 var(--ink);
  cursor: pointer;
  font-size: 16px;
  font-weight: 850;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.password-form__submit:hover,
.password-form__submit:focus-visible {
  background: var(--purple);
  outline: none;
  transform: translate(-1px, -1px);
  box-shadow: 7px 7px 0 var(--ink);
}

.password-form__submit:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--ink);
}

.password-form__error {
  min-height: 24px;
  margin: 0;
  color: var(--coral);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
}

.password-form.is-error .password-form__input {
  border-color: var(--coral);
  box-shadow: 6px 6px 0 var(--yellow);
  animation: password-shake 320ms ease;
}

.password-gate__decor {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.password-gate__heart,
.password-gate__note,
.password-gate__spark {
  position: absolute;
  display: block;
  font-family: "Arial Rounded MT Bold", "Arial Black", sans-serif;
  line-height: 1;
  -webkit-text-stroke: 1.5px var(--ink);
  text-shadow: 3px 3px 0 #ffffff;
}

.password-gate__heart {
  top: 12%;
  right: 8%;
  color: var(--pink);
  font-size: 54px;
  transform: rotate(12deg);
}

.password-gate__note--one {
  top: 18%;
  left: 6%;
  color: var(--blue);
  font-size: 42px;
  transform: rotate(-12deg);
}

.password-gate__note--two {
  right: 11%;
  bottom: 12%;
  color: var(--purple);
  font-size: 38px;
  transform: rotate(11deg);
}

.password-gate__spark {
  bottom: 10%;
  left: 7%;
  color: var(--yellow);
  font-size: 48px;
  transform: rotate(-8deg);
}

.password-gate__mushroom {
  --mushroom-cap: var(--coral);
  --mushroom-rotation: -8deg;
  bottom: 27%;
  left: 8%;
}

.password-gate__checker {
  position: absolute;
  right: 18%;
  bottom: 25%;
  display: grid;
  grid-template-columns: repeat(2, 15px);
  grid-template-rows: repeat(2, 15px);
  border: 2px solid var(--ink);
  background: #ffffff;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(8deg);
}

.password-gate__checker i:nth-child(1),
.password-gate__checker i:nth-child(4) {
  background: var(--green);
}

.cute-mushroom {
  --mushroom-cap: var(--pink);
  --mushroom-rotation: 8deg;
  position: absolute;
  display: block;
  width: 54px;
  height: 54px;
  animation: mushroom-bob 4.2s ease-in-out infinite;
  filter: drop-shadow(3px 3px 0 rgba(255, 255, 255, 0.95));
  transform: rotate(var(--mushroom-rotation));
  transform-origin: 50% 100%;
}

.cute-mushroom__cap {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 2px;
  display: block;
  width: 50px;
  height: 30px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 50% 50% 34% 34% / 72% 72% 32% 32%;
  background: var(--mushroom-cap);
}

.cute-mushroom__cap i {
  position: absolute;
  display: block;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: #ffffff;
}

.cute-mushroom__cap i:nth-child(1) {
  top: 5px;
  left: 8px;
}

.cute-mushroom__cap i:nth-child(2) {
  top: 3px;
  right: 8px;
  width: 7px;
  height: 7px;
}

.cute-mushroom__cap i:nth-child(3) {
  right: 19px;
  bottom: -3px;
  width: 10px;
  height: 10px;
}

.cute-mushroom__stem {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 17px;
  display: block;
  width: 22px;
  height: 30px;
  border: 2px solid var(--ink);
  border-radius: 7px 7px 11px 11px;
  background: #fff8e8;
}

.cute-mushroom__stem > i {
  position: absolute;
  top: 11px;
  left: 5px;
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 7px 0 0 var(--ink);
}

.cute-mushroom__stem > i::after {
  position: absolute;
  top: 4px;
  left: 2px;
  width: 6px;
  height: 4px;
  border-bottom: 1.5px solid var(--ink);
  border-radius: 50%;
  content: "";
}

body.is-locked .report {
  overflow: hidden;
}

body.is-locked .progress,
body.is-locked .page-dots,
body.is-locked .music-button {
  visibility: hidden;
}

.report {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

.report.is-secret-open {
  overflow-y: hidden;
}

.page {
  --page-accent: var(--coral);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100svh;
  padding: max(28px, env(safe-area-inset-top)) var(--page-padding) max(36px, env(safe-area-inset-bottom));
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  isolation: isolate;
}

.page:nth-child(2) {
  --page-accent: var(--blue);
  background: #eaf4ff;
}

.page:nth-child(3) {
  --page-accent: var(--green);
  background: #eef9eb;
}

.page:nth-child(4) {
  --page-accent: var(--yellow);
  background: #fff6d8;
}

.page:nth-child(5) {
  --page-accent: var(--purple);
  background: #f2ecff;
}

.page:nth-child(6) {
  --page-accent: var(--coral);
  background: #fff0f5;
}

.page:nth-child(7) {
  --page-accent: var(--coral);
  background: #ffede5;
}

.page:not(.cover):not(.ending)::after {
  position: absolute;
  z-index: -1;
  top: max(28px, env(safe-area-inset-top));
  right: calc(var(--page-padding) + 18px);
  width: 50px;
  height: 12px;
  background: var(--page-accent);
  content: "";
  transform: rotate(8deg);
}

.page__inner {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 680px);
  min-width: 0;
  margin: auto;
  flex-direction: column;
  justify-content: center;
}

.page-decor {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.page-decor__heart,
.page-decor__spark,
.page-decor__flower,
.page-decor__note {
  position: absolute;
  display: block;
  color: var(--page-accent);
  font-family: "Arial Rounded MT Bold", "Arial Black", sans-serif;
  line-height: 1;
  -webkit-text-stroke: 1.5px var(--ink);
  text-shadow: 3px 3px 0 #ffffff;
}

.page-decor__heart {
  top: 11%;
  right: 8%;
  font-size: clamp(35px, 10vw, 62px);
  transform: rotate(12deg);
}

.page-decor__spark {
  bottom: 9%;
  left: 6%;
  color: var(--yellow);
  font-size: clamp(32px, 9vw, 54px);
  transform: rotate(-10deg);
}

.page-decor__flower {
  right: 4%;
  bottom: 18%;
  color: var(--pink);
  font-size: clamp(28px, 8vw, 48px);
  transform: rotate(9deg);
}

.page-decor__note {
  top: 18%;
  left: 6%;
  color: var(--blue);
  font-size: clamp(28px, 8vw, 46px);
  font-weight: 900;
  transform: rotate(-12deg);
}

.page-decor__note--two {
  top: auto;
  right: 13%;
  bottom: 11%;
  left: auto;
  color: var(--purple);
  font-size: clamp(24px, 7vw, 40px);
  transform: rotate(12deg);
}

.page-decor__checker {
  position: absolute;
  bottom: 5%;
  left: 18%;
  display: grid;
  grid-template-columns: repeat(2, 16px);
  grid-template-rows: repeat(2, 16px);
  border: 2px solid var(--ink);
  background: #ffffff;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-8deg);
}

.page-decor__checker i:nth-child(1),
.page-decor__checker i:nth-child(4) {
  background: var(--page-accent);
}

.page:nth-child(even) .page-decor__heart {
  top: 14%;
  right: auto;
  left: 5%;
  transform: rotate(-10deg);
}

.page:nth-child(even) .page-decor__spark {
  right: 7%;
  bottom: 8%;
  left: auto;
}

.page:nth-child(even) .page-decor__checker {
  right: 17%;
  left: auto;
  transform: rotate(7deg);
}

.page:nth-child(even) .page-decor__note {
  top: 18%;
  right: 7%;
  left: auto;
  transform: rotate(12deg);
}

.page:nth-child(even) .page-decor__note--two {
  top: auto;
  right: auto;
  bottom: 12%;
  left: 8%;
  transform: rotate(-12deg);
}

.page-decor__mushroom {
  --mushroom-cap: var(--page-accent);
  --mushroom-rotation: 9deg;
  top: 34%;
  right: 5%;
}

.page:nth-child(even) .page-decor__mushroom {
  --mushroom-rotation: -9deg;
  top: auto;
  right: auto;
  bottom: 27%;
  left: 5%;
}

.page:nth-child(3n) .page-decor__mushroom,
.secret-page .page-decor__mushroom {
  --mushroom-cap: var(--green);
}

.journey-page .page-decor__mushroom {
  top: auto;
  right: 31%;
  bottom: 4%;
  left: auto;
}

.cover .page-decor__heart {
  top: 12%;
}

.ending .page-decor__heart,
.ending .page-decor__spark,
.ending .page-decor__flower,
.ending .page-decor__note {
  -webkit-text-stroke-color: #ffffff;
  text-shadow: 3px 3px 0 rgba(37, 35, 43, 0.34);
}

.page__index,
.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page__title {
  max-width: 12em;
  margin: 0;
  font-size: clamp(34px, 10vw, 72px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: 0;
}

.page__lead {
  max-width: 32em;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 4.6vw, 21px);
  line-height: 1.75;
}

.accent {
  color: var(--page-accent);
}

.cover {
  background: var(--paper);
}

.cover::before {
  position: absolute;
  inset: 0 0 auto;
  height: 9px;
  background: linear-gradient(90deg, var(--coral) 0 25%, var(--pink) 25% 45%, var(--yellow) 45% 65%, var(--green) 65% 82%, var(--blue) 82%);
  content: "";
}

.cover__number {
  display: block;
  margin: 4px 0;
  color: var(--pink);
  font-family: "Arial Rounded MT Bold", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(104px, 31vw, 220px);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: 0;
  text-shadow: 5px 5px 0 var(--yellow);
  transform: rotate(-2deg);
}

.cover__names {
  margin: 26px 0 0;
  font-size: clamp(28px, 7vw, 44px);
  font-weight: 700;
  line-height: 1.25;
}

.cover__date {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.scroll-cue {
  position: absolute;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  transform: translateX(-50%);
}

.scroll-cue::after {
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  transform: rotate(45deg);
  animation: cue 1.8s ease-in-out infinite;
}

.number-lockup {
  display: flex;
  margin: 30px 0 14px;
  align-items: baseline;
  gap: 10px;
}

.number-lockup__value {
  color: var(--page-accent);
  font-family: "Arial Rounded MT Bold", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(96px, 29vw, 190px);
  line-height: 0.9;
  text-shadow: 4px 4px 0 #ffffff;
}

.number-lockup__unit {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.journey-page .page__title {
  max-width: none;
  font-size: clamp(31px, 8.6vw, 50px);
}

.journey-page .page-decor__note--one {
  top: 3%;
}

.journey-map {
  position: relative;
  width: 100%;
  height: clamp(430px, 64svh, 560px);
  margin-top: 20px;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 6px;
  background-color: #e8f7ee;
  background-image:
    linear-gradient(rgba(37, 35, 43, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 35, 43, 0.09) 1px, transparent 1px);
  background-size: 24px 24px;
  box-shadow: 8px 8px 0 var(--green);
}

.journey-map__region {
  position: absolute;
  z-index: 1;
  display: block;
  background: #fff5c8;
  opacity: 0.9;
}

.journey-map__region--one {
  top: 6%;
  left: -10%;
  width: 56%;
  height: 44%;
  clip-path: polygon(0 8%, 63% 0, 100% 31%, 73% 70%, 22% 100%, 0 69%);
}

.journey-map__region--two {
  top: 12%;
  right: -8%;
  width: 48%;
  height: 39%;
  background: #f2eafe;
  clip-path: polygon(33% 0, 100% 18%, 87% 78%, 43% 100%, 0 62%);
}

.journey-map__region--three {
  bottom: 21%;
  left: 24%;
  width: 56%;
  height: 26%;
  background: #ffe8ef;
  clip-path: polygon(0 36%, 45% 0, 100% 25%, 83% 100%, 27% 89%);
}

.journey-map__route {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.journey-map__route polyline {
  fill: none;
  stroke: var(--ink);
  stroke-dasharray: 2.2 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 0.75;
  vector-effect: non-scaling-stroke;
}

.journey-map__compass {
  position: absolute;
  z-index: 4;
  top: 13px;
  right: 14px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: #ffffff;
  box-shadow: 2px 2px 0 var(--yellow);
  font-size: 11px;
  font-weight: 900;
}

.journey-map__compass::before {
  position: absolute;
  top: 3px;
  left: 50%;
  width: 0;
  height: 0;
  border-right: 4px solid transparent;
  border-bottom: 8px solid var(--coral);
  border-left: 4px solid transparent;
  content: "";
  transform: translateX(-50%);
}

.journey-map__marker {
  position: absolute;
  z-index: 3;
  top: var(--y);
  left: var(--x);
  display: grid;
  width: 31px;
  height: 31px;
  padding: 0;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: #ffffff;
  box-shadow: 3px 3px 0 var(--yellow);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  transform: translate(-50%, -50%) rotate(-4deg);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.journey-map__marker[aria-expanded="true"] {
  width: 38px;
  height: 38px;
  color: #ffffff;
  background: var(--coral);
  box-shadow: 4px 4px 0 var(--pink);
  transform: translate(-50%, -50%) rotate(4deg);
}

.journey-map__marker:focus-visible,
.journey-detail__button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.journey-detail {
  position: absolute;
  z-index: 5;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: grid;
  height: calc(100% - 24px);
  overflow: hidden;
  grid-template-rows: auto minmax(0, 1fr);
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 5px 5px 0 var(--coral);
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 24px));
  transition: opacity 220ms ease, transform 320ms cubic-bezier(0.2, 0.82, 0.2, 1.08);
}

.journey-detail.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.journey-detail.is-changing {
  animation: place-change 280ms ease;
}

.journey-detail__photo {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background: #fff8e8;
}

.journey-detail__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journey-detail__photo-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--pink);
  background: repeating-linear-gradient(-45deg, #ffffff 0 14px, #fff7d6 14px 28px);
  font-family: "Arial Rounded MT Bold", sans-serif;
  font-size: 50px;
  -webkit-text-stroke: 1.5px var(--ink);
  text-shadow: 3px 3px 0 var(--yellow);
}

.journey-detail__body {
  min-width: 0;
  padding: 12px 13px 11px;
}

.journey-detail__header {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}

.journey-detail__meta {
  display: flex;
  margin: 0;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.journey-detail__meta span:first-child {
  color: var(--coral);
}

.journey-detail h3 {
  margin: 3px 0 0;
  font-size: 23px;
  font-weight: 850;
  line-height: 1.2;
}

.journey-detail__controls {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
}

.journey-detail__button {
  display: grid;
  width: 31px;
  height: 31px;
  padding: 0;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: #ffffff;
  cursor: pointer;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.journey-detail__button:disabled {
  opacity: 0.35;
  cursor: default;
}

.journey-detail__button[data-place-close] {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  background: #fff0f5;
  box-shadow: 2px 2px 0 var(--yellow);
}

.journey-detail__description {
  display: -webkit-box;
  margin: 9px 0 0;
  overflow: hidden;
  color: var(--muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 13px;
  line-height: 1.5;
}

.timeline {
  position: relative;
  display: grid;
  margin: 26px 0 0;
  padding: 0 0 0 22px;
  gap: 15px;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 35px;
  bottom: 35px;
  left: 4px;
  width: 2px;
  background: var(--ink);
  content: "";
}

.timeline__item {
  position: relative;
}

.timeline__item::before {
  position: absolute;
  top: 31px;
  left: -22px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--coral);
  content: "";
}

.timeline__item:nth-child(2)::before {
  background: var(--blue);
}

.timeline__item:nth-child(3)::before {
  background: var(--green);
}

.timeline__date {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.timeline__title {
  display: block;
  margin: 5px 0 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.45;
}

.timeline__trigger {
  display: grid;
  width: 100%;
  min-height: 76px;
  padding: 0;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 14px;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.timeline__copy {
  min-width: 0;
}

.timeline__thumbnail {
  position: relative;
  display: block;
  width: 68px;
  height: 68px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 4px 4px 0 var(--yellow);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.timeline__item:nth-child(2) .timeline__thumbnail {
  box-shadow: 4px 4px 0 var(--blue);
}

.timeline__item:nth-child(3) .timeline__thumbnail {
  box-shadow: 4px 4px 0 var(--green);
}

.timeline__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline__thumbnail-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--pink);
  background: repeating-linear-gradient(-45deg, #ffffff 0 10px, #fff7d6 10px 20px);
  font-family: "Arial Rounded MT Bold", sans-serif;
  font-size: 35px;
  -webkit-text-stroke: 1px var(--ink);
  text-shadow: 2px 2px 0 var(--yellow);
}

.timeline__trigger:hover .timeline__thumbnail,
.timeline__trigger[aria-expanded="true"] .timeline__thumbnail {
  box-shadow: 6px 6px 0 var(--coral);
  transform: rotate(2deg) scale(1.03);
}

.timeline__trigger:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}

.memory-lightbox {
  position: absolute;
  z-index: 40;
  inset: 0;
  display: grid;
  padding: max(34px, env(safe-area-inset-top)) 20px max(34px, env(safe-area-inset-bottom));
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.memory-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.memory-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(37, 35, 43, 0.58);
  backdrop-filter: blur(5px);
}

.memory-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 500px);
  max-height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 3px solid var(--ink);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 9px 9px 0 var(--pink);
  transform: translateY(18px) scale(0.96);
  transition: transform 280ms cubic-bezier(0.2, 0.82, 0.2, 1.08);
}

.memory-lightbox.is-open .memory-lightbox__dialog {
  transform: translateY(0) scale(1);
}

.memory-lightbox__close {
  position: absolute;
  z-index: 2;
  top: 11px;
  right: 11px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: #fff0f5;
  box-shadow: 2px 2px 0 var(--yellow);
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.memory-lightbox__close:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.memory-lightbox__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff8e8;
}

.memory-lightbox__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.memory-lightbox__photo-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--pink);
  background: repeating-linear-gradient(-45deg, #ffffff 0 18px, #fff7d6 18px 36px);
  font-family: "Arial Rounded MT Bold", sans-serif;
  font-size: 84px;
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 5px 5px 0 var(--yellow);
}

.memory-lightbox__caption {
  padding: 14px 16px 16px;
  border-top: 3px solid var(--ink);
}

.memory-lightbox__date {
  color: var(--coral);
  font-size: 12px;
  font-weight: 850;
}

.memory-lightbox__caption h3 {
  margin: 5px 0 0;
  font-size: clamp(21px, 6vw, 30px);
  font-weight: 850;
  line-height: 1.3;
}

.photo-stage {
  position: relative;
  width: 100%;
  margin-top: 30px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 10px 10px 0 var(--yellow);
  transform: rotate(-1deg);
}

.photo-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-stage__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: repeating-linear-gradient(-45deg, #ffffff 0 18px, #f2ecff 18px 36px);
  font-family: "Arial Rounded MT Bold", sans-serif;
  font-size: 64px;
}

.special-photos {
  --page-accent: var(--coral);
  background: #fff0f5;
}

.special-photos .page-decor__flower,
.special-photos .page-decor__spark,
.special-photos .page-decor__checker,
.special-photos .page-decor__note {
  display: none;
}

.photo-picks {
  display: flex;
  width: calc(100% + var(--page-padding) * 2);
  margin: 26px calc(var(--page-padding) * -1) 0;
  padding: 4px var(--page-padding) 14px;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.photo-picks::-webkit-scrollbar {
  display: none;
}

.photo-picks:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.photo-pick {
  --card-color: var(--pink);
  width: min(73vw, 290px);
  flex: 0 0 min(73vw, 290px);
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 7px 7px 0 var(--card-color);
  scroll-snap-align: center;
}

.photo-pick:nth-child(2) {
  --card-color: var(--yellow);
}

.photo-pick:nth-child(3) {
  --card-color: var(--coral);
}

.photo-pick:nth-child(4) {
  --card-color: var(--green);
}

.photo-pick:nth-child(5) {
  --card-color: var(--blue);
}

.photo-pick__image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
  background: #fff8e8;
}

.photo-pick__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-pick__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--card-color);
  background: repeating-linear-gradient(-45deg, #ffffff 0 20px, #fff8e8 20px 40px);
  font-family: "Arial Rounded MT Bold", sans-serif;
  font-size: 72px;
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 4px 4px 0 var(--yellow);
}

.photo-pick__caption {
  display: grid;
  min-height: 62px;
  padding: 12px 14px;
  align-items: center;
  grid-template-columns: auto 1fr;
  gap: 12px;
}

.photo-pick__number {
  color: var(--card-color);
  font-size: 13px;
  font-weight: 900;
}

.photo-pick__caption h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.25;
}

.photo-picks__controls {
  display: grid;
  margin-top: 12px;
  align-items: center;
  grid-template-columns: 42px 1fr 42px;
  gap: 14px;
}

.photo-picks__button {
  position: static;
}

.photo-picks__button span {
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.photo-picks__button:disabled {
  opacity: 0.35;
  cursor: default;
}

.photo-picks__counter {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.secret-page {
  --page-accent: var(--purple);
  position: fixed;
  z-index: 45;
  inset: 0;
  display: grid;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: max(28px, env(safe-area-inset-top)) var(--page-padding) max(36px, env(safe-area-inset-bottom));
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr);
  background: #f2ecff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 260ms ease, transform 420ms cubic-bezier(0.2, 0.82, 0.2, 1);
  isolation: isolate;
}

.secret-page.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.secret-page.is-open [data-animate] {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

.secret-page.is-open [data-animate]:nth-child(2) {
  transition-delay: 130ms;
}

.secret-page.is-open [data-animate]:nth-child(3) {
  transition-delay: 220ms;
}

.secret-page__back {
  position: absolute;
  z-index: 30;
  top: max(18px, env(safe-area-inset-top));
  left: max(18px, env(safe-area-inset-left));
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: #ffffff;
  box-shadow: 3px 3px 0 var(--yellow);
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.secret-page__back:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.letter-page {
  --page-accent: var(--purple);
  background: #f2ecff;
}

.letter-page .page__title {
  max-width: none;
  font-size: clamp(27px, 7.4vw, 44px);
  line-height: 1.28;
}

.letter-page .page-decor__heart,
.letter-page .page-decor__note--one {
  display: none;
}

.letter-preview {
  position: relative;
  display: grid;
  width: 100%;
  height: clamp(320px, 50svh, 460px);
  margin-top: 22px;
  padding: 12px;
  overflow: hidden;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 9px 9px 0 var(--purple);
  cursor: pointer;
}

.letter-preview__pages {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.letter-preview__page {
  position: relative;
  display: grid;
  min-height: 0;
  overflow: hidden;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 4px;
  background: #ffffff;
}

.letter-preview__page img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.letter-preview__empty {
  color: var(--purple);
  background: repeating-linear-gradient(-45deg, #ffffff 0 18px, #fff7d6 18px 36px);
  font-family: "Arial Rounded MT Bold", sans-serif;
}

.letter-preview__empty b {
  position: absolute;
  top: 10px;
  left: 12px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.letter-preview__empty i {
  font-size: 54px;
  font-style: normal;
  -webkit-text-stroke: 1.5px var(--ink);
  text-shadow: 4px 4px 0 var(--yellow);
}

.letter-preview:hover,
.letter-preview[aria-expanded="true"] {
  box-shadow: 11px 11px 0 var(--pink);
}

.letter-preview:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}

.letter-viewer {
  position: absolute;
  z-index: 50;
  inset: 0;
  display: grid;
  padding: max(20px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.letter-viewer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.letter-viewer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(37, 35, 43, 0.62);
  backdrop-filter: blur(6px);
}

.letter-viewer__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  height: 100%;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 9px 9px 0 var(--purple);
  transform: translateY(18px) scale(0.97);
  transition: transform 280ms cubic-bezier(0.2, 0.82, 0.2, 1.08);
}

.letter-viewer.is-open .letter-viewer__dialog {
  transform: translateY(0) scale(1);
}

.letter-viewer__close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: #fff0f5;
  box-shadow: 2px 2px 0 var(--yellow);
  cursor: pointer;
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
}

.letter-viewer__close:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.letter-viewer__scroll {
  width: 100%;
  height: 100%;
  padding: 58px 13px 18px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff8e8;
  -webkit-overflow-scrolling: touch;
}

.letter-viewer__page {
  width: 100%;
  margin: 0 0 16px;
}

.letter-viewer__page:last-child {
  margin-bottom: 0;
}

.letter-viewer__page img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid var(--ink);
  background: #ffffff;
}

.letter-viewer__empty {
  display: grid;
  min-height: 56vh;
  place-items: center;
  color: var(--purple);
  background: repeating-linear-gradient(-45deg, #ffffff 0 22px, #fff7d6 22px 44px);
  font-family: "Arial Rounded MT Bold", sans-serif;
  grid-template-rows: auto auto;
  align-content: center;
  gap: 16px;
}

.letter-viewer__empty b {
  color: var(--muted);
  font-size: 14px;
}

.letter-viewer__empty span {
  font-size: 86px;
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 6px 6px 0 var(--yellow);
}

.quote {
  margin: 30px 0 0;
  padding-left: 18px;
  border-left: 8px solid var(--pink);
  font-family: "Arial Rounded MT Bold", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(27px, 8vw, 48px);
  font-weight: 850;
  line-height: 1.45;
}

.message-page .eyebrow {
  margin-bottom: 22px;
  font-size: clamp(16px, 4.2vw, 18px);
  line-height: 1.5;
}

.secret-trigger {
  display: inline;
  padding: 0 2px;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 112, 166, 0.45);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.secret-trigger:hover,
.secret-trigger:focus-visible {
  color: var(--pink);
  outline: none;
  text-decoration-color: var(--yellow);
}

.ending {
  --page-accent: var(--yellow);
  color: #f9f7f1;
  background: var(--blue);
}

.ending .page__lead,
.ending .eyebrow {
  color: rgba(249, 247, 241, 0.68);
}

.ending__tomorrow {
  margin: 30px 0 0;
  color: var(--yellow);
  font-family: "Arial Rounded MT Bold", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(72px, 22vw, 140px);
  line-height: 0.95;
  font-weight: 900;
  text-shadow: 5px 5px 0 var(--coral);
}

.progress {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: rgba(23, 23, 23, 0.08);
}

.progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: var(--coral);
  transition: width 280ms ease;
}

.page-dots {
  position: fixed;
  z-index: 20;
  top: 50%;
  right: max(10px, env(safe-area-inset-right));
  display: flex;
  flex-direction: column;
  gap: 9px;
  transform: translateY(-50%);
}

.page-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(23, 23, 23, 0.22);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.page-dot[aria-current="true"] {
  background: var(--page-accent, var(--coral));
  transform: scale(1.45);
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(245, 242, 235, 0.88);
  box-shadow: 3px 3px 0 var(--yellow);
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.music-button {
  position: fixed;
  z-index: 30;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  display: flex;
  width: auto;
  min-width: 112px;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

.music-button svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.music-button__label {
  white-space: nowrap;
}

.music-button__pause,
.music-button.is-playing .music-button__play {
  display: none;
}

.music-button.is-playing .music-button__pause {
  display: block;
}

[data-animate] {
  opacity: 0;
  transform: translateY(22px) rotate(-1deg);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.82, 0.2, 1.08);
}

.page.is-visible [data-animate] {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

.page.is-visible [data-animate]:nth-child(2) {
  transition-delay: 100ms;
}

.page.is-visible [data-animate]:nth-child(3) {
  transition-delay: 190ms;
}

.page.is-visible [data-animate]:nth-child(4) {
  transition-delay: 280ms;
}

@keyframes cue {
  0%, 100% { transform: translateY(-2px) rotate(45deg); }
  50% { transform: translateY(4px) rotate(45deg); }
}

@keyframes place-change {
  0% { opacity: 0.45; transform: translateY(5px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes password-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  50% { transform: translateX(7px); }
  75% { transform: translateX(-4px); }
}

@keyframes mushroom-bob {
  0%, 100% { transform: translateY(0) rotate(var(--mushroom-rotation)); }
  50% { transform: translateY(-6px) rotate(var(--mushroom-rotation)); }
}

@media (min-width: 760px) {
  .password-gate__title {
    font-size: 56px;
  }

  .page__inner {
    width: min(82vw, 880px);
  }

  .photo-stage {
    width: min(52vh, 430px);
  }

  .photo-picks {
    width: min(100vw, 980px);
    margin-right: 0;
    margin-left: 0;
    padding-right: 12px;
    padding-left: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .report {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
