@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Serif+SC:wght@400;500;600;700&display=swap");

:root {
  color-scheme: light;
  --paper: #fbf8f7;
  --ink: #493b42;
  --muted: #898087;
  --rose: #b78391;
  --rose-dark: #986b78;
  --gold: #b99a87;
  --line: #e9dfe2;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "DM Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--paper); scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 70% 34%, rgba(248, 225, 232, .46) 0, rgba(255, 251, 250, 0) 42%),
    linear-gradient(128deg, #fffdfc 0%, #fbf6f7 52%, #fffdfb 100%);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button, input, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid #a77945; outline-offset: 4px; }

.page-shell { max-width: 1500px; min-height: 100svh; margin: 0 auto; padding: 0 7.05%; display: flex; flex-direction: column; }

.topbar { min-height: 92px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(89, 69, 78, .12); position: relative; z-index: 2; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 12px; letter-spacing: .045em; }
.wordmark-mark { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid #c49582; border-radius: 50%; color: #a66d68; font: italic 16px Georgia, serif; }
.topbar-note { font-size: 10px; letter-spacing: .12em; color: #77786f; text-transform: uppercase; }
.tiny-spark { color: #b78079; margin-right: 8px; font-size: 13px; }
.text-button { border: 0; background: none; color: #435048; padding: 9px 0; cursor: pointer; font-size: 12px; letter-spacing: .03em; transition: color .2s ease; }
.text-button:hover { color: #9a7448; }
.text-button span { margin-left: 7px; color: #ae766e; }

main { flex: 1; }
.hero { min-height: min(650px, calc(100svh - 182px)); display: grid; grid-template-columns: minmax(360px, .83fr) minmax(500px, 1.17fr); align-items: center; gap: 4%; padding: 38px 0 34px; }
.hero-copy { position: relative; z-index: 1; padding: 8px 0 14px 2px; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 27px; color: #8e7759; font-size: 9px; font-weight: 600; letter-spacing: .16em; }
.eyebrow-rule { display: inline-block; width: 24px; height: 1px; background: #b5966d; }
h1 { margin: 0; color: #44343a; font: 500 clamp(42px, 4.2vw, 62px)/1.42 var(--serif); letter-spacing: .025em; }
.handwritten { position: relative; color: #b1725a; font: 500 1.04em/1.1 var(--serif); white-space: nowrap; }
.handwritten::after { content: ""; position: absolute; left: 1px; right: -3px; bottom: -5px; height: 5px; border-top: 1px solid rgba(177, 114, 90, .58); border-radius: 50%; transform: rotate(-2deg); }
.hero-intro { color: #767970; margin: 24px 0 30px; font-size: 13px; line-height: 2.05; letter-spacing: .035em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; }
.primary-button { min-height: 49px; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 0 14px 0 20px; border: 0; border-radius: 2px; color: #fffdfd; background: linear-gradient(120deg, #b98593, #a97b88); cursor: pointer; font-size: 12px; letter-spacing: .055em; transition: background .25s, transform .25s, box-shadow .25s; box-shadow: 0 6px 17px rgba(123, 82, 95, .14); }
.primary-button:hover { background: linear-gradient(120deg, #c593a0, #b17e8d); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(123, 82, 95, .18); }
.button-icon { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid rgba(250, 248, 241, .4); border-radius: 50%; font-size: 13px; }
.button-caption { color: #929087; font-size: 10px; letter-spacing: .025em; }
.little-note { display: flex; align-items: center; gap: 11px; margin-top: 59px; padding-top: 17px; width: fit-content; max-width: 100%; border-top: 1px solid #ded9ce; color: #807f75; font: italic 12px/1.6 var(--serif); }
.note-star { color: #bd827e; font-size: 15px; font-style: normal; }

.gift-stage { width: 100%; height: clamp(440px, 42vw, 575px); max-height: 620px; position: relative; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.stage-halo { position: absolute; width: 66%; height: 56%; left: 17%; top: 24%; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse, rgba(242, 211, 220, .48), rgba(255, 250, 251, .05) 72%); filter: blur(60px); }
.canvas-wrap { position: absolute; inset: 0; z-index: 1; touch-action: none; cursor: grab; }
.canvas-wrap:active { cursor: grabbing; }
.canvas-wrap canvas { display: block; width: 100%; height: 100%; outline: none; }
.stage-caption { position: absolute; z-index: 2; bottom: 7%; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 11px; white-space: nowrap; color: #8a897f; font-size: 9px; letter-spacing: .055em; pointer-events: none; }
.caption-line { width: 23px; height: 1px; background: #c1b59f; }
.close-box-button { position: absolute; right: 7%; bottom: 6.2%; z-index: 4; display: none; align-items: center; gap: 8px; padding: 7px 0 7px 11px; border: 0; border-left: 1px solid rgba(172, 143, 100, .5); background: rgba(244, 241, 233, .84); color: #716b5e; font-size: 9px; cursor: pointer; }
.close-box-button.is-visible { display: inline-flex; }
.close-box-button span { color: #9f8054; }
.view-card-button { position: absolute; left: 7%; bottom: 6.2%; z-index: 4; display: none; align-items: center; gap: 8px; padding: 7px 11px 7px 0; border: 0; border-right: 1px solid rgba(181, 129, 126, .42); background: rgba(244, 241, 233, .84); color: #78595b; font-size: 9px; cursor: pointer; }
.view-card-button.is-visible { display: inline-flex; }
.view-card-button span { color: #a96f71; }
.view-letter-button { position: absolute; left: 50%; bottom: 6.2%; z-index: 4; display: none; align-items: center; gap: 8px; padding: 7px 10px; transform: translateX(-50%); border: 1px solid rgba(181, 129, 126, .35); background: rgba(250, 246, 241, .9); color: #78595b; font-size: 9px; cursor: pointer; white-space: nowrap; }
.view-letter-button.is-visible { display: inline-flex; }
.view-letter-button span { color: #a96f71; }
.canvas-status { position: absolute; z-index: 5; left: 8%; bottom: 13%; max-width: 84%; color: #8a5b3b; font-size: 10px; pointer-events: none; }
.css-fallback { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; perspective: 750px; }
.fallback-shadow { position: absolute; width: 62%; height: 12%; bottom: 21%; border-radius: 50%; background: rgba(46, 42, 34, .19); filter: blur(13px); }
.fallback-box { position: relative; width: 48%; aspect-ratio: 1.3; transform: rotate(-8deg) skewY(3deg); background: linear-gradient(135deg, #fffafc, #f0dbe2 67%, #e6cbd5); box-shadow: 15px 17px 28px rgba(79, 61, 68, .18), inset -10px -12px 18px rgba(159, 124, 139, .12), inset 4px 2px 7px rgba(255, 255, 255, .6); }
.fallback-lid { position: absolute; height: 22%; left: -3%; right: -3%; top: -12%; background: linear-gradient(110deg, #fffdfd, #f4e5e9 68%, #e7cdd5); box-shadow: 0 5px 9px rgba(85, 62, 73, .18); }
.fallback-band { position: absolute; width: 13%; top: 0; bottom: 0; left: 43.5%; background: linear-gradient(90deg,#c496a4,#f4e0e5 48%,#c79eaa); }
.fallback-bow { position: absolute; left: 50%; top: -34%; z-index: 2; transform: translateX(-50%) rotate(-6deg); color: #d8b0bb; font: 92px/1 Georgia, serif; text-shadow: 0 2px 5px #a78991; }
.canvas-failed .css-fallback { display: flex; }
.canvas-failed .canvas-wrap canvas { display: none; }

.details { min-height: 150px; display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr .8fr; align-items: center; gap: 22px; padding: 25px 0 27px; border-top: 1px solid rgba(89, 69, 78, .14); border-bottom: 1px solid rgba(89, 69, 78, .14); }
.details-intro { display: flex; align-items: flex-start; gap: 10px; color: #555c51; font: 12px/1.7 var(--serif); }
.details-icon { padding-top: 3px; color: #b78b57; }
.detail-item { min-height: 78px; display: flex; flex-direction: column; justify-content: center; padding-left: 22px; border-left: 1px solid #ded9ce; }
.detail-number { margin-bottom: 7px; color: #a88b63; font-size: 8px; letter-spacing: .13em; }
.detail-title { margin-bottom: 5px; color: #51434b; font: 11px var(--serif); }
.detail-caption { color: #919087; font-size: 9px; line-height: 1.7; }
.edit-card-link { justify-self: end; display: flex; align-items: center; gap: 9px; padding: 0; border: 0; background: none; color: #657166; text-align: left; font: 11px/1.65 var(--serif); cursor: pointer; transition: color .2s; }
.edit-card-link:hover { color: #a2764b; }
.edit-card-icon { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #c49582; border-radius: 50%; color: #ae766e; font: 18px/1 var(--sans); }

.footer { min-height: 66px; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #939187; font-size: 9px; letter-spacing: .04em; }
.footer-center { color: #9c927f; font-size: 8px; letter-spacing: .15em; }
.footer-center i { padding: 0 6px; color: #bc8a69; font-size: 8px; font-style: normal; }

.card-dialog { width: min(490px, calc(100% - 30px)); max-height: 90vh; overflow-y: auto; padding: 0; border: 1px solid rgba(166, 143, 108, .42); color: var(--ink); background: var(--paper); box-shadow: 0 24px 90px rgba(29, 38, 32, .25); }
.card-dialog::backdrop { background: rgba(25, 36, 30, .48); backdrop-filter: blur(4px); }
.card-form { position: relative; padding: 43px 45px 35px; }
.dialog-close { position: absolute; top: 14px; right: 17px; width: 30px; height: 30px; border: 0; background: none; color: #73776e; cursor: pointer; font-size: 24px; font-weight: 300; }
.dialog-eyebrow { margin-bottom: 16px; font-size: 8px; }
.card-form h2 { margin: 0; color: #2d3b34; font: 500 25px/1.5 var(--serif); }
.dialog-intro { margin: 8px 0 25px; color: #808177; font-size: 11px; line-height: 1.7; }
.card-form label { display: block; margin: 16px 0 8px; color: #4b544a; font-size: 10px; letter-spacing: .04em; }
.card-form input, .card-form textarea { display: block; width: 100%; padding: 11px 12px; resize: vertical; border: 1px solid #d8d2c5; border-radius: 1px; color: #344138; background: rgba(255, 255, 255, .46); font: 12px/1.7 var(--serif); }
.card-form input::placeholder, .card-form textarea::placeholder { color: #b1ada2; }
.dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 15px; }
.character-count { color: #9b998f; font-size: 9px; }
.dialog-save { min-height: 43px; gap: 16px; padding-left: 16px; font-size: 11px; }
.dialog-save .button-icon { width: 20px; height: 20px; }
.view-card-dialog { width: min(690px, calc(100% - 28px)); max-width: 690px; padding: 0; border: 1px solid rgba(188, 142, 127, .45); background: #fbf7f6; box-shadow: 0 24px 90px rgba(60, 41, 43, .24); }
.view-card-dialog::backdrop { background: rgba(55, 38, 40, .54); backdrop-filter: blur(5px); }
.view-card-shell { position: relative; padding: 38px 48px 25px; }
.large-note-card { position: relative; min-height: 335px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 43px 46px; overflow: hidden; border: 1px solid #d0aa96; outline: 1px solid rgba(192, 151, 128, .3); outline-offset: -9px; background: radial-gradient(ellipse at 50% 40%, #fffdf9 0%, #f8f0e8 73%, #f1e4da 100%); box-shadow: 0 13px 30px rgba(89, 56, 55, .1), inset 0 0 35px rgba(176, 128, 105, .065); text-align: center; }
.large-note-kicker { margin: 0 0 21px; color: #a2726c; font-size: 9px; letter-spacing: .24em; }
.large-note-rule { width: 46px; height: 1px; background: #ceaa8e; }
.large-note-card h2 { max-width: 100%; margin: 27px 0 17px; color: #49343b; font: 500 clamp(27px, 5vw, 39px)/1.5 var(--serif); overflow-wrap: anywhere; }
.large-note-message { max-width: 490px; margin: 0; color: #65534f; font: clamp(18px, 3.5vw, 24px)/2 var(--serif); overflow-wrap: anywhere; }
.large-note-rule-bottom { margin-top: 26px; }
.large-note-sign { margin: 17px 0 0; color: #a46f69; font: 14px/1.7 var(--serif); letter-spacing: .18em; }
.large-note-sign span { margin-left: 5px; color: #bf8d83; }
.large-note-flower { position: absolute; color: #c68184; font-size: 39px; opacity: .62; }
.large-note-flower-left { top: 22px; left: 26px; transform: rotate(-17deg); }
.large-note-flower-right { right: 26px; bottom: 19px; transform: rotate(16deg); }
.view-card-hint { margin: 15px 0 0; color: #938580; text-align: center; font-size: 10px; letter-spacing: .1em; }
.view-letter-dialog { width: min(690px, calc(100% - 28px)); max-width: 690px; padding: 0; border: 1px solid rgba(188, 142, 127, .45); background: #fbf7f2; box-shadow: 0 24px 90px rgba(60, 41, 43, .24); }
.view-letter-dialog::backdrop { background: rgba(55, 38, 40, .58); backdrop-filter: blur(5px); }
.view-letter-shell { position: relative; padding: 38px 48px 25px; }
.large-letter { position: relative; min-height: 420px; padding: 50px 54px 38px; border: 1px solid #d8bba7; background: repeating-linear-gradient(#fffdf8 0, #fffdf8 35px, #eee4d8 36px); box-shadow: 0 13px 30px rgba(89, 56, 55, .1); }
.large-letter-kicker { margin: 0 0 25px; color: #a2726c; font-size: 9px; letter-spacing: .24em; text-align: center; }
.large-letter h2 { margin: 0 0 18px; color: #49343b; font: 500 clamp(24px, 4vw, 32px)/1.5 var(--serif); }
.large-letter-content { min-height: 210px; margin: 0; color: #65534f; font: 16px/2.2 var(--serif); white-space: pre-wrap; overflow-wrap: anywhere; }
.large-letter-sign { margin: 22px 0 0; color: #a46f69; font: 14px/1.7 var(--serif); letter-spacing: .08em; text-align: right; }
.large-letter-sign span { margin-left: 5px; color: #bf8d83; }
.coupon-dialog { width: min(760px, calc(100% - 28px)); max-width: 760px; max-height: min(820px, calc(100% - 28px)); overflow-y: auto; padding: 0; border: 1px solid rgba(188, 142, 127, .45); color: var(--ink); background: #fbf7f2; box-shadow: 0 24px 90px rgba(60, 41, 43, .24); }
.coupon-dialog::backdrop { background: rgba(55, 38, 40, .58); backdrop-filter: blur(5px); }
.coupon-shell { position: relative; min-height: 100%; padding: 42px 48px 34px; }
.coupon-list-view { text-align: center; }
.coupon-kicker, .coupon-detail-kicker { margin: 0 0 12px; color: #a2726c; font-size: 9px; letter-spacing: .24em; }
.coupon-list-view h2, .coupon-detail-card h2 { margin: 0; color: #49343b; font: 500 clamp(24px, 4vw, 32px)/1.5 var(--serif); }
.coupon-intro { margin: 9px 0 25px; color: #81746d; font-size: 12px; line-height: 1.7; }
.envelope-contents { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 18px; text-align: left; }
.envelope-letter-preview { min-height: 350px; display: flex; flex-direction: column; align-items: flex-start; padding: 30px 24px; border: 1px solid #d7bba8; color: #65534f; background: repeating-linear-gradient(#fffdf8 0, #fffdf8 35px, #eee4d8 36px); box-shadow: 0 5px 15px rgba(89, 56, 55, .08); text-align: left; cursor: pointer; }
.envelope-preview-label { color: #a2726c; font-size: 9px; letter-spacing: .18em; }
.envelope-preview-recipient { margin-top: 26px; color: #49343b; font: 500 20px/1.5 var(--serif); }
.envelope-preview-copy { display: -webkit-box; margin-top: 15px; overflow: hidden; color: #786a64; font: 13px/2 var(--serif); white-space: pre-wrap; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 5; }
.envelope-preview-action { margin-top: auto; padding-top: 16px; color: #a2726c; font-size: 10px; letter-spacing: .06em; }
.envelope-coupons { padding: 15px; border: 1px solid rgba(215, 187, 168, .65); background: rgba(255, 253, 249, .62); }
.envelope-coupons h3 { margin: 0 0 12px; color: #816a63; font: 500 13px/1.5 var(--serif); }
.coupon-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.coupon-option { position: relative; min-height: 98px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; overflow: hidden; border: 1px solid #d7bba8; border-radius: 3px; color: #8c6963; background: linear-gradient(135deg, #fffdf9, #f6ece4); box-shadow: 0 5px 13px rgba(89, 56, 55, .07); cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }
.coupon-option::before, .coupon-option::after { position: absolute; top: 50%; width: 14px; height: 14px; border: 1px solid #d7bba8; border-radius: 50%; background: #fbf7f2; content: ""; transform: translateY(-50%); }
.coupon-option::before { left: -8px; }
.coupon-option::after { right: -8px; }
.coupon-option:hover { transform: translateY(-3px); border-color: #bd8c80; box-shadow: 0 9px 20px rgba(89, 56, 55, .13); }
.coupon-option-symbol { color: #a8756b; font: 500 24px/1 var(--serif); }
.coupon-option-title { max-width: 100%; padding: 0 7px; overflow: hidden; color: #8e8178; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.coupon-detail-dialog { width: min(690px, calc(100% - 28px)); max-width: 690px; max-height: min(820px, calc(100% - 28px)); overflow-y: auto; padding: 0; border: 1px solid rgba(188, 142, 127, .45); color: var(--ink); background: #fbf7f2; box-shadow: 0 24px 90px rgba(60, 41, 43, .24); }
.coupon-detail-dialog::backdrop { background: rgba(55, 38, 40, .64); backdrop-filter: blur(5px); }
.coupon-detail-shell { position: relative; padding: 42px 48px 34px; }
.coupon-detail-card { min-height: 355px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; border: 1px solid #d7bba8; outline: 1px solid rgba(192, 151, 128, .3); outline-offset: -8px; background: radial-gradient(ellipse at 50% 40%, #fffdf9 0%, #f8f0e8 73%, #f1e4da 100%); text-align: center; }
.coupon-detail-image-wrap { width: min(100%, 440px); max-height: 300px; margin: 8px 0 15px; overflow: hidden; }
.coupon-detail-image-wrap img { display: block; max-width: 100%; max-height: 300px; margin: 0 auto; object-fit: contain; }
.coupon-detail-symbol { margin: 8px 0; color: #b7887d; font: 30px/1 var(--serif); }
.coupon-detail-greeting { margin: 10px 0 0; color: #a46f69; font: 15px/1.8 var(--serif); }
.coupon-detail-content { width: min(100%, 430px); min-height: 72px; margin-top: 18px; padding: 18px 24px; border-top: 1px dashed #d8c6b8; border-bottom: 1px dashed #d8c6b8; color: #86786f; font: 13px/1.9 var(--serif); white-space: pre-wrap; overflow-wrap: anywhere; }
noscript { display: block; margin: 12px; color: #823; font-size: 12px; }

@media (min-width: 1500px) { .hero { min-height: 680px; } }
@media (max-width: 1050px) {
  .page-shell { padding: 0 5%; }
  .hero { grid-template-columns: minmax(320px, .82fr) minmax(400px, 1.18fr); gap: 1%; }
  .details { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 14px; }
  .details-intro { display: none; }
}
@media (max-width: 760px) {
  .page-shell { padding: 0 22px; }
  .topbar { min-height: 70px; }
  .topbar-note { display: none; }
  .wordmark { font-size: 11px; }
  .text-button { font-size: 11px; }
  .hero { min-height: unset; grid-template-columns: 1fr; gap: 2px; padding: 44px 0 25px; }
  .hero-copy { padding-left: 0; }
  .eyebrow { margin-bottom: 18px; font-size: 8px; }
  h1 { font-size: clamp(39px, 9vw, 54px); line-height: 1.37; }
  .hero-intro { margin: 15px 0 20px; font-size: 12px; line-height: 1.85; }
  .hero-actions { gap: 11px; }
  .button-caption { font-size: 9px; }
  .little-note { margin-top: 25px; font-size: 11px; }
  .gift-stage { height: min(108vw, 475px); margin: 4px -11px 0; }
  .stage-caption { bottom: 5%; font-size: 8px; }
  .close-box-button { right: 4%; bottom: 5%; font-size: 8px; }
  .view-card-button { left: 4%; bottom: 5%; font-size: 8px; }
  .view-letter-button { bottom: 5%; font-size: 8px; }
  .details { min-height: unset; grid-template-columns: 1fr 1fr; gap: 0; padding: 14px 0; }
  .detail-item { min-height: 93px; padding-left: 15px; }
  .detail-item:nth-of-type(2) { border-left: 0; }
  .detail-item:nth-of-type(4) { border-left: 0; }
  .edit-card-link { justify-self: start; min-height: 74px; padding-left: 15px; }
  .footer { min-height: 57px; font-size: 8px; }
  .footer > span:first-child { display: none; }
  .footer-center { margin: 0 auto; font-size: 7px; }
  .footer > span:last-child { font-size: 8px; }
  .card-form { padding: 40px 25px 26px; }
  .view-card-shell { padding: 38px 20px 20px; }
  .view-letter-shell { padding: 38px 20px 20px; }
  .coupon-shell { padding: 42px 20px 24px; }
  .envelope-contents { grid-template-columns: 1fr; }
  .envelope-letter-preview { min-height: 200px; padding: 22px; }
  .envelope-preview-recipient { margin-top: 15px; }
  .envelope-preview-copy { margin-top: 8px; -webkit-line-clamp: 3; }
  .envelope-coupons { padding: 12px; }
  .coupon-grid { gap: 8px; }
  .coupon-option { min-height: 78px; }
  .coupon-detail-shell { padding: 42px 20px 24px; }
  .coupon-detail-card { min-height: 320px; padding: 35px 20px; }
  .coupon-detail-content { min-height: 110px; }
  .large-note-card { min-height: 285px; padding: 39px 25px; }
  .large-note-flower { font-size: 29px; }
  .large-note-flower-left { top: 19px; left: 19px; }
  .large-note-flower-right { right: 19px; bottom: 15px; }
  .large-letter { min-height: 380px; padding: 42px 25px 28px; }
  .large-letter-content { min-height: 210px; font-size: 14px; }
}
@media (max-width: 390px) {
  .page-shell { padding: 0 16px; }
  .text-button { font-size: 10px; }
  .gift-stage { margin-left: -14px; margin-right: -14px; }
  .button-caption { max-width: 142px; line-height: 1.6; }
  .footer > span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
