:root {
  color-scheme: dark;
  --ink: #fff8fb;
  --muted: #ffd6e3;
  --rose: #ff6fae;
  --violet: #8f7dff;
  --cyan: #71f5ff;
  --gold: #ffd28a;
  --glass: rgba(14, 18, 34, 0.48);
  --line: rgba(255, 255, 255, 0.22);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  background: #050815;
  color: var(--ink);
}

body {
  overflow-x: hidden;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  gap: 18px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 111, 174, 0.22), transparent 32%),
    #050815;
  color: var(--muted);
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.loader-ring {
  width: 82px;
  height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--gold);
  border-right-color: var(--rose);
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(255, 111, 174, 0.42);
  animation: spin 1.1s linear infinite;
}

.cursor-glow {
  position: fixed;
  z-index: 3;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 125, 184, 0.18), rgba(113, 245, 255, 0.07) 42%, transparent 68%);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease;
  mix-blend-mode: screen;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(4, 7, 20, 0.78), rgba(7, 11, 28, 0.22) 48%, rgba(40, 8, 33, 0.28)),
    url("./assets/romantic-sky.webp") center / cover no-repeat;
  content: "";
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(115deg, rgba(113, 245, 255, 0.13), transparent 34%, rgba(143, 125, 255, 0.14) 70%, transparent),
    radial-gradient(circle at 25% 25%, rgba(255, 151, 199, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(5, 8, 21, 0.08), rgba(5, 8, 21, 0.72));
  pointer-events: none;
  content: "";
}

#stars {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 560px);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
  min-height: 86vh;
  padding: clamp(20px, 4vw, 64px);
  isolation: isolate;
  perspective: 1200px;
}

.scanline {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(transparent 0 96%, rgba(255, 255, 255, 0.06) 96% 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 20%, transparent 80%, rgba(255, 255, 255, 0.04));
  background-size: 100% 7px, 100% 100%;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent);
  opacity: 0.24;
  pointer-events: none;
}

.light-beam {
  position: absolute;
  z-index: -1;
  width: 32vw;
  height: 140vh;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.18;
  pointer-events: none;
  transform-origin: center;
}

.beam-one {
  top: -42vh;
  right: 10vw;
  background: linear-gradient(180deg, transparent, rgba(255, 111, 174, 0.9), transparent);
  animation: sweep-one 9s ease-in-out infinite;
}

.beam-two {
  top: -46vh;
  left: 16vw;
  background: linear-gradient(180deg, transparent, rgba(113, 245, 255, 0.68), transparent);
  animation: sweep-two 11s ease-in-out infinite;
}

.constellation-heart {
  position: absolute;
  top: clamp(96px, 15vh, 150px);
  right: clamp(24px, 8vw, 128px);
  z-index: -1;
  width: clamp(230px, 31vw, 470px);
  overflow: visible;
  opacity: 0.86;
  filter: drop-shadow(0 0 22px rgba(255, 111, 174, 0.6));
  animation: heart-orbit 7s ease-in-out infinite;
}

.constellation-heart path {
  fill: none;
  stroke: rgba(255, 228, 194, 0.78);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-dasharray: 980;
  stroke-dashoffset: 980;
  animation: draw-heart 2.6s ease 0.8s forwards, heart-pulse 3.4s ease-in-out 3s infinite;
}

.constellation-heart .glow-path {
  stroke: rgba(255, 111, 174, 0.46);
  stroke-width: 7;
  filter: blur(8px);
}

.constellation-heart circle {
  fill: #fff9f3;
  opacity: 0;
  filter: drop-shadow(0 0 10px rgba(255, 210, 138, 0.95));
  animation: star-pop 0.5s ease forwards;
}

.constellation-heart circle:nth-of-type(1) { animation-delay: 1s; }
.constellation-heart circle:nth-of-type(2) { animation-delay: 1.12s; }
.constellation-heart circle:nth-of-type(3) { animation-delay: 1.24s; }
.constellation-heart circle:nth-of-type(4) { animation-delay: 1.36s; }
.constellation-heart circle:nth-of-type(5) { animation-delay: 1.48s; }
.constellation-heart circle:nth-of-type(6) { animation-delay: 1.6s; }
.constellation-heart circle:nth-of-type(7) { animation-delay: 1.72s; }
.constellation-heart circle:nth-of-type(8) { animation-delay: 1.84s; }
.constellation-heart circle:nth-of-type(9) { animation-delay: 1.96s; }
.constellation-heart circle:nth-of-type(10) { animation-delay: 2.08s; }

.topbar {
  position: absolute;
  top: clamp(18px, 3vw, 34px);
  left: clamp(20px, 4vw, 64px);
  right: clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 248, 251, 0.86);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 30px rgba(255, 111, 174, 0.28);
  font-family: Georgia, serif;
  font-weight: 700;
}

.topline {
  max-width: 58vw;
  font-size: 14px;
  letter-spacing: 0;
  text-align: right;
}

.music-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 248, 251, 0.92);
  font-size: 13px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.music-bars {
  display: inline-flex;
  align-items: end;
  gap: 3px;
  height: 16px;
}

.music-bars i {
  display: block;
  width: 3px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
  transform-origin: bottom;
}

.music-btn.is-playing .music-bars i {
  animation: music-bar 0.74s ease-in-out infinite;
}

.music-btn.is-playing .music-bars i:nth-child(2) {
  animation-delay: 0.12s;
}

.music-btn.is-playing .music-bars i:nth-child(3) {
  animation-delay: 0.24s;
}

.hero-content {
  max-width: 760px;
  padding-top: 130px;
  animation: rise-in 1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: clamp(14px, 2vw, 18px);
  text-transform: uppercase;
}

.name-script {
  margin-bottom: -10px;
  color: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 12vw, 156px);
  font-style: italic;
  line-height: 0.72;
  background: linear-gradient(90deg, rgba(255, 210, 138, 0.8), rgba(255, 111, 174, 0.58), rgba(113, 245, 255, 0.52));
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0.46;
  text-shadow: 0 0 44px rgba(255, 111, 174, 0.24);
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(42px, 8vw, 104px);
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 0 0 34px rgba(255, 111, 174, 0.38);
}

.lead {
  min-height: 6.8em;
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(255, 248, 251, 0.9);
  font-size: clamp(18px, 2.3vw, 24px);
  line-height: 1.65;
}

.lead::after {
  display: inline-block;
  width: 0.58em;
  margin-left: 3px;
  color: var(--gold);
  content: "|";
  animation: blink 0.9s steps(2, start) infinite;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

button {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #ff5f9f, #ffb86b);
  box-shadow: 0 14px 45px rgba(255, 95, 159, 0.42), inset 0 1px rgba(255, 255, 255, 0.35);
  position: relative;
  overflow: hidden;
}

.primary-btn::before {
  position: absolute;
  inset: -80% -30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  content: "";
  transform: translateX(-70%) rotate(20deg);
  animation: button-shine 2.8s ease-in-out infinite;
}

.ghost-btn {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(16px);
}

button:hover {
  transform: translateY(-2px);
}

.btn-spark {
  animation: sparkle 1.4s infinite;
}

.letter-stage {
  align-self: center;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 680px;
  padding: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    var(--glass);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.letter-stage::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 210, 138, 0.8), rgba(255, 111, 174, 0.25), rgba(113, 245, 255, 0.55));
  content: "";
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.envelope {
  position: absolute;
  inset: 58px 42px auto;
  height: 330px;
  transform-style: preserve-3d;
  animation: envelope-settle 1.1s ease both;
}

.envelope-back,
.envelope-front,
.envelope-flap,
.envelope-paper {
  position: absolute;
  inset: 0;
  border-radius: 8px;
}

.envelope-back {
  background: linear-gradient(135deg, rgba(56, 38, 75, 0.96), rgba(122, 55, 92, 0.92));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.envelope-paper {
  inset: 24px 24px 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 242, 233, 0.94)),
    repeating-linear-gradient(180deg, transparent 0 28px, rgba(143, 87, 112, 0.1) 29px);
  transform: translateY(112px) scaleY(0.34);
  transform-origin: bottom;
  animation: paper-rise 2.2s cubic-bezier(0.16, 1, 0.3, 1) 1.15s forwards;
}

.envelope-front {
  top: 106px;
  background:
    linear-gradient(145deg, rgba(239, 108, 158, 0.92), rgba(99, 55, 112, 0.96)),
    linear-gradient(45deg, transparent 49%, rgba(255, 255, 255, 0.2) 50%, transparent 51%);
  clip-path: polygon(0 0, 50% 50%, 100% 0, 100% 100%, 0 100%);
}

.envelope-flap {
  background: linear-gradient(160deg, rgba(255, 174, 202, 0.95), rgba(125, 67, 124, 0.95));
  clip-path: polygon(0 0, 50% 70%, 100% 0);
  transform-origin: top;
  animation: open-flap 1.45s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.wax-seal {
  position: absolute;
  left: 50%;
  top: 148px;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #ffd7e5, #ff5f9f 42%, #8c315d);
  box-shadow: 0 10px 34px rgba(255, 95, 159, 0.42);
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  transform: translateX(-50%);
  animation: seal-fade 0.8s ease 1.2s forwards;
}

.love-letter {
  position: relative;
  z-index: 2;
  min-height: 100%;
  padding: 40px 42px 44px;
  background:
    linear-gradient(90deg, rgba(255, 210, 138, 0.18), transparent 12%, transparent 88%, rgba(255, 111, 174, 0.15)),
    linear-gradient(180deg, rgba(255, 252, 245, 0.96), rgba(255, 241, 233, 0.94));
  color: #302035;
  clip-path: inset(48% 8% 38% 8% round 8px);
  opacity: 0;
  transform: translateY(138px) rotateX(10deg);
  transform-origin: center bottom;
  animation: unfold-letter 3.2s cubic-bezier(0.16, 1, 0.3, 1) 1.7s forwards;
}

.letter-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  color: rgba(68, 37, 61, 0.58);
  font-size: 12px;
  text-transform: uppercase;
}

.love-letter h2 {
  margin: 0 0 16px;
  color: #6f2853;
  font-size: clamp(28px, 4vw, 44px);
}

.love-letter p,
.love-letter strong {
  display: block;
  margin: 0;
  color: #39243a;
  font-size: 17px;
  line-height: 1.92;
  opacity: 0;
  transform: translateY(14px);
  animation: letter-line 1.35s ease forwards;
}

.love-letter p + p,
.love-letter strong {
  margin-top: 14px;
}

.love-letter p:nth-of-type(1) { animation-delay: 5.15s; }
.love-letter p:nth-of-type(2) { animation-delay: 6.45s; }
.love-letter p:nth-of-type(3) { animation-delay: 7.75s; }
.love-letter p:nth-of-type(4) { animation-delay: 9.05s; }
.love-letter strong {
  color: #9a285f;
  font-size: 19px;
  animation-delay: 10.45s;
}

.signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.signal-strip span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 248, 251, 0.82);
  font-size: 13px;
  backdrop-filter: blur(12px);
}

.quote-river {
  display: flex;
  gap: clamp(36px, 8vw, 110px);
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  background: rgba(5, 8, 21, 0.38);
  white-space: nowrap;
}

.quote-river span {
  flex: 0 0 auto;
  color: rgba(255, 248, 251, 0.6);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 5vw, 72px);
  font-style: italic;
  animation: river 18s linear infinite;
}

.promise-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 34px clamp(20px, 4vw, 64px) 48px;
  background: linear-gradient(180deg, rgba(5, 8, 21, 0.08), rgba(5, 8, 21, 0.86));
}

.promise span,
.signature span {
  display: block;
  color: var(--gold);
  font-size: 14px;
}

.promise strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(24px, 4vw, 44px);
  line-height: 1.18;
}

.promise p {
  max-width: 840px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.signature {
  min-width: 160px;
  border-left: 1px solid rgba(255, 255, 255, 0.26);
  padding-left: 24px;
}

.signature strong {
  display: block;
  margin-top: 4px;
  font-size: 32px;
}

.ambient {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.52;
  pointer-events: none;
}

.ambient-one {
  right: 12%;
  top: 18%;
  width: 190px;
  height: 190px;
  background: radial-gradient(circle, rgba(255, 111, 174, 0.52), transparent 66%);
  animation: drift 8s ease-in-out infinite;
}

.ambient-two {
  left: 7%;
  bottom: 12%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 210, 138, 0.36), transparent 68%);
  animation: drift 10s ease-in-out infinite reverse;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 5;
  max-width: calc(100vw - 32px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 13px 20px;
  background: rgba(13, 18, 35, 0.78);
  color: #fff;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translate(-50%, 18px);
  backdrop-filter: blur(18px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.heart {
  position: fixed;
  z-index: 4;
  color: var(--rose);
  font-size: 22px;
  text-shadow: 0 0 16px rgba(255, 143, 189, 0.8);
  pointer-events: none;
  animation: float-heart 2.1s ease-out forwards;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

@keyframes music-bar {
  50% {
    height: 16px;
    background: var(--rose);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
}

@keyframes sweep-one {
  50% {
    transform: rotate(16deg) translateX(-5vw);
  }
}

@keyframes sweep-two {
  50% {
    transform: rotate(-14deg) translateX(6vw);
  }
}

@keyframes draw-heart {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes heart-pulse {
  50% {
    filter: drop-shadow(0 0 18px rgba(255, 210, 138, 0.72));
  }
}

@keyframes heart-orbit {
  50% {
    transform: translate3d(-14px, 16px, 0) rotate(-2deg) scale(1.03);
  }
}

@keyframes star-pop {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes button-shine {
  45%,
  100% {
    transform: translateX(120%) rotate(20deg);
  }
}

@keyframes list-pop {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
}

@keyframes envelope-settle {
  from {
    opacity: 0;
    transform: translateY(34px) rotateX(18deg) scale(0.94);
  }
}

@keyframes open-flap {
  to {
    transform: rotateX(178deg);
    opacity: 0.66;
  }
}

@keyframes paper-rise {
  to {
    transform: translateY(-66px) scaleY(1);
  }
}

@keyframes seal-fade {
  to {
    opacity: 0;
    transform: translateX(-50%) scale(0.55);
  }
}

@keyframes unfold-letter {
  0% {
    opacity: 0;
    clip-path: inset(48% 8% 38% 8% round 8px);
    transform: translateY(138px) rotateX(10deg);
  }
  34% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0 round 8px);
    transform: translateY(0) rotateX(0);
  }
}

@keyframes letter-line {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes river {
  to {
    transform: translateX(calc(-100vw - 80px));
  }
}

@keyframes sparkle {
  50% {
    transform: scale(1.28) rotate(16deg);
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(255, 111, 174, 0);
  }
}

@keyframes drift {
  50% {
    transform: translate3d(18px, -22px, 0) scale(1.08);
  }
}

@keyframes float-heart {
  to {
    opacity: 0;
    transform: translateY(-110px) scale(1.8) rotate(18deg);
  }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: end;
    min-height: 92vh;
    gap: 34px;
  }

  .topbar {
    align-items: flex-start;
  }

  .hero-content {
    padding-top: 108px;
  }

  .letter-stage {
    align-self: auto;
    min-height: 660px;
    width: min(100%, 620px);
    justify-self: center;
  }

  .light-beam {
    width: 52vw;
  }

  .constellation-heart {
    top: 120px;
    right: -44px;
    width: 260px;
    opacity: 0.52;
  }

  .promise-band {
    grid-template-columns: 1fr;
  }

  .signature {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    padding: 18px 0 0;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: auto;
    padding: 18px 16px 34px;
  }

  .topbar {
    position: relative;
    inset: auto;
    margin-bottom: 28px;
  }

  .top-actions {
    align-items: flex-end;
    flex-direction: column;
    gap: 8px;
  }

  .topline {
    max-width: 56vw;
    font-size: 12px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  h1 {
    font-size: clamp(36px, 13vw, 58px);
  }

  .hero-content {
    padding-top: 0;
  }

  .eyebrow {
    margin-bottom: 10px;
  }

  .name-script {
    margin-bottom: -4px;
    font-size: clamp(58px, 18vw, 84px);
  }

  .lead {
    min-height: 10.8em;
    margin-top: 22px;
    font-size: 17px;
  }

  .actions {
    margin-top: 24px;
  }

  .signal-strip span {
    font-size: 12px;
  }

  .letter-stage {
    min-height: 720px;
  }

  .envelope {
    inset: 46px 22px auto;
    height: 290px;
  }

  .love-letter {
    padding: 28px 24px 30px;
  }

  .love-letter p,
  .love-letter strong {
    font-size: 15px;
    line-height: 1.78;
  }

  button {
    width: 100%;
    justify-content: center;
  }

  .music-btn {
    width: auto;
    min-height: 36px;
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: 35px;
  }

  .letter-stage {
    min-height: 760px;
  }

  .envelope {
    inset-inline: 16px;
    height: 270px;
  }

  .love-letter {
    padding: 24px 18px 28px;
  }

  .love-letter p,
  .love-letter strong {
    font-size: 14px;
  }
}
