:root {
  --paper: #f7f5f1;
  --paper-wash: rgba(247, 245, 241, .82);
  --card: #faf8f4;
  --card-wash: rgba(250, 248, 244, .84);
  --ink: #756e66;
  --ink-soft: #786f65;
  --muted: #8d8378;
  --location: #6b7f85;
  --line: rgba(126, 113, 99, .32);
  --coral: #9d6f65;
  --icon: #756c63;
  --page-max: 1024px;
  --content-max: 820px;
  --card-max: 740px;
  --back-original-size: clamp(13px, 1.35vw, 16px);
  --back-fact-size: clamp(13px, 1.55vw, 18px);
  --back-footer-size: clamp(12px, 1.45vw, 17px);
  --page-gutter: clamp(28px, 7.2vw, 74px);
  --page-top-padding: clamp(34px, 5.3vw, 58px);
  --serif: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { min-width: 320px; background: var(--paper); scroll-behavior: smooth; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: linear-gradient(var(--paper-wash), var(--paper-wash)), url("assets/paper-texture-reference.png");
  background-size: auto, 280px 210px;
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
}

button, input, textarea { font: inherit; line-height: 1.5; }
button { color: inherit; cursor: pointer; }
button:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible { outline: 2px solid rgba(157, 111, 101, .85); outline-offset: 4px; }

.app { width: 100%; min-height: 100vh; }
.view { display: none; min-height: 100svh; }
.view.is-active { display: block; animation: appear .35s ease both; }

@keyframes appear {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reference-canvas {
  position: relative;
  width: min(100%, var(--page-max));
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: var(--paper);
}

.reference-canvas > img { display: block; width: 100%; height: 100%; object-fit: cover; }

.image-hotspot { position: absolute; z-index: 4; margin: 0; padding: 0; border: 0; background: transparent; }
.home-about-hotspot { top: 2.6%; right: 1.2%; width: 18%; height: 4.5%; }
.home-encounter-hotspot { top: 58%; left: 35%; width: 30%; height: 5.6%; border-radius: 999px; }

.home-input-hotspot {
  position: absolute;
  z-index: 3;
  top: 25.5%;
  left: 17.8%;
  width: 64.2%;
  height: 29.5%;
}

.home-input-hotspot textarea {
  display: block;
  width: 100%;
  height: 100%;
  padding: 7.5% 7% 6%;
  resize: none;
  color: var(--ink);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: clamp(17px, 2.2vw, 24px);
  line-height: 1.8;
  letter-spacing: .02em;
}

.home-input-hotspot textarea::placeholder { color: transparent; }
.loading-view { min-height: 100svh; }
.loading-canvas { min-height: 0; aspect-ratio: 2 / 3; }

.reference-page {
  position: relative;
  width: min(100%, var(--page-max));
  min-height: 100svh;
  margin: 0 auto;
  padding: var(--page-top-padding) var(--page-gutter) 84px;
  overflow: hidden;
  background-color: var(--paper);
  background-image: linear-gradient(var(--paper-wash), var(--paper-wash)), url("assets/paper-texture-reference.png");
  background-size: auto, 280px 210px;
}

.page-topline {
  position: relative;
  z-index: 5;
  display: grid;
  width: min(100%, var(--content-max));
  min-height: 44px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.page-topline > :last-child { justify-self: end; }
.quiet-link, .custom-entry { padding: 6px 0; border: 0; color: inherit; background: transparent; font-size: clamp(14px, 1.7vw, 19px); line-height: 1.4; letter-spacing: .06em; text-decoration: none; }
.quiet-link { color: var(--ink); font-family: var(--sans); font-size: clamp(15px, 1.7vw, 19px); font-weight: 500; letter-spacing: .025em; }
.quiet-link span { margin-right: 6px; font-family: var(--sans); font-size: 1.12em; }
.page-kicker { margin: 0; color: var(--ink); font-size: clamp(14px, 1.7vw, 19px); line-height: 1.4; letter-spacing: .1em; white-space: nowrap; }

.card-page { --card-rail: min(82vw, var(--card-max)); padding-top: clamp(58px, 7.8vw, 82px); }
.card-page .page-topline { width: min(100%, 940px); grid-template-columns: minmax(180px, 1fr) minmax(0, auto) minmax(180px, 1fr); gap: 24px; }
.card-page .page-topline { border-bottom: 0; }
.card-page .page-topline > .quiet-link { display: inline-flex; min-height: 44px; align-items: center; padding: 10px 8px; line-height: 1.25; letter-spacing: .015em; }
.card-page .page-topline > .quiet-link:first-child { justify-self: start; }
.card-page .page-topline > .quiet-link:hover { color: var(--coral); }
.card-titleline { display: flex; min-width: 0; max-width: 100%; align-items: center; justify-content: center; gap: clamp(9px, 1vw, 13px); color: var(--ink); font-size: clamp(15px, 1.8vw, 21px); line-height: 1.35; letter-spacing: .04em; white-space: normal; }
.card-titleline strong { color: var(--ink); font-size: 1.08em; font-weight: 500; }
.card-titleline > span:first-child, .card-titleline .title-lighthouse, .card-titleline .title-divider { flex: 0 0 auto; }
.card-titleline strong { min-width: 0; max-width: 100%; overflow-wrap: anywhere; word-break: normal; }
.card-titleline:focus, #loadingView h1:focus, #aboutTitle:focus { outline: 0; }
.title-lighthouse { display: inline-grid; width: clamp(19px, 2.2vw, 25px); height: clamp(26px, 3vw, 34px); place-items: center; color: var(--icon); }
.title-lighthouse svg, .kicker-lighthouse svg, .about-lighthouse-mark svg, .back-footer-icon svg, .ui-icon svg, .fact-icon svg, .support-mark svg { display: block; width: 100%; height: 100%; }
.title-divider { display: block; width: 1px; height: 1.45em; background: rgba(118, 109, 99, .58); }

.postcard-wrap { width: var(--card-rail); margin: clamp(42px, 4.8vw, 54px) auto 0; perspective: 1600px; }
.card-page.is-flipped .postcard-wrap { margin-top: clamp(42px, 4.8vw, 54px); }
.postcard-shell { width: 100%; aspect-ratio: 2 / 3; container-type: inline-size; }
.postcard-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.postcard-inner.is-flipped { transform: rotateY(180deg); }

.postcard-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(126, 113, 99, .3);
  border-radius: 28px;
  background-color: var(--card);
  background-image: linear-gradient(var(--card-wash), var(--card-wash)), url("assets/paper-texture-reference.png");
  background-size: auto, 280px 210px;
  box-shadow: 0 17px 30px rgba(101, 88, 72, .12), 0 2px 5px rgba(101, 88, 72, .08);
  backface-visibility: hidden;
}

.postcard-face::after, .custom-preview-card::after, .support-card::after {
  position: absolute;
  z-index: 8;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .08;
  background-image: radial-gradient(rgba(99, 78, 57, .18) .45px, transparent .7px);
  background-size: 5px 5px;
  mix-blend-mode: multiply;
}

.postcard-back { transform: rotateY(180deg); }
.postcard-back::before { position: absolute; z-index: 2; top: 31%; left: 8%; width: 35%; height: 14%; pointer-events: none; content: ""; background: linear-gradient(rgba(126, 113, 99, .22), rgba(126, 113, 99, .22)) 0 0 / 100% 1px no-repeat, linear-gradient(rgba(126, 113, 99, .22), rgba(126, 113, 99, .22)) 0 33.33% / 100% 1px no-repeat, linear-gradient(rgba(126, 113, 99, .22), rgba(126, 113, 99, .22)) 0 66.66% / 100% 1px no-repeat, linear-gradient(rgba(126, 113, 99, .22), rgba(126, 113, 99, .22)) 0 100% / 100% 1px no-repeat; }
.postcard-art { position: absolute; z-index: 1; inset: 6% 5% 18%; display: grid; place-items: center; overflow: hidden; }
.postcard-art::after { position: absolute; inset: 0; pointer-events: none; content: ""; background: linear-gradient(to bottom, var(--card) 0%, rgba(250, 248, 244, .74) 8%, transparent 20%, transparent 80%, rgba(250, 248, 244, .74) 93%, var(--card) 100%), linear-gradient(to right, var(--card) 0%, rgba(250, 248, 244, .68) 7%, transparent 18%, transparent 82%, rgba(250, 248, 244, .68) 93%, var(--card) 100%); }
.postcard-image { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; opacity: .9; filter: saturate(.82) contrast(.95) brightness(1.06); }

.stamp { position: absolute; z-index: 6; top: calc(4.8% + var(--postal-y, 0%)); right: calc(4.6% - var(--postal-x, 0%)); width: 32%; aspect-ratio: 1.2 / 1; overflow: visible; color: rgba(118, 109, 99, .66); transform: scale(var(--postal-scale, 1)); transform-origin: 100% 0; }
.stamp-element { position: absolute; z-index: 2; top: 0; right: 0; display: block; width: 51%; aspect-ratio: 2 / 3; overflow: hidden; background: rgba(234, 227, 218, .98); -webkit-mask: url("assets/stamp-perforation-mask.svg") center / 100% 100% no-repeat; -webkit-mask-mode: luminance; mask: url("assets/stamp-perforation-mask.svg") center / 100% 100% no-repeat; mask-mode: luminance; filter: drop-shadow(0 0 1.4px rgba(93, 74, 53, .28)) drop-shadow(0 1px 1px rgba(93, 74, 53, .14)); }
.stamp-element::before { position: absolute; z-index: 2; inset: 8%; border: 1px solid rgba(137, 117, 96, .42); content: ""; pointer-events: none; }
.stamp-paper { position: absolute; z-index: 1; top: 9%; right: 9%; bottom: 9%; left: 9%; display: block; overflow: hidden; background: var(--card); }
.stamp-paper .stamp-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; filter: saturate(.9) contrast(1.02) brightness(1); }
.postmark-reference { position: absolute; z-index: 3; inset: 0; display: block; overflow: visible; pointer-events: none; }
.postmark-waves { position: absolute; z-index: 1; top: 17%; left: 6%; width: 50%; height: 43%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; opacity: .64; filter: drop-shadow(0 .35px .25px rgba(93, 74, 53, .1)); }
.postmark-seal { position: absolute; z-index: 2; top: 51%; left: 27%; display: block; width: 38%; aspect-ratio: 1; overflow: hidden; border-radius: 50%; opacity: .82; filter: saturate(.82) contrast(.97) brightness(1.05); }
.postmark-seal-image { position: absolute; inset: 0; display: block; width: 100%; max-width: none; height: 100%; object-fit: contain; }

.front-copy { position: absolute; z-index: 4; right: 10%; bottom: 5.4%; left: 10%; text-align: center; }
.front-phrase { max-width: 100%; margin: 0; color: var(--ink); font-size: clamp(18px, 2.4vw, 29px); line-height: 1.55; letter-spacing: .08em; overflow-wrap: anywhere; }
.front-place { display: flex; max-width: 92%; margin: 1.9% auto 0; align-items: flex-start; justify-content: center; gap: .58em; color: var(--location); font-size: clamp(11px, 1.4vw, 16px); line-height: 1.55; letter-spacing: .04em; text-align: center; transform: translateX(-1em); }
.front-place > span:last-child { min-width: 0; overflow-wrap: anywhere; word-break: keep-all; }
.location-pin { display: inline-grid; width: 1.42em; height: 1.58em; flex: 0 0 auto; color: var(--location); place-items: center; }
.location-pin svg { display: block; width: 100%; height: 100%; }

.card-actions { display: grid; width: var(--card-rail); margin: 38px auto 0; grid-template-columns: 1fr 1fr; gap: 28px; }
.outline-button { min-height: 58px; padding: 10px 18px; border: 1px solid rgba(126, 113, 99, .38); border-radius: 16px; color: var(--ink); background: rgba(250, 248, 244, .16); font-size: clamp(15px, 1.8vw, 21px); line-height: 1.4; letter-spacing: .06em; }
.outline-button:hover { background: rgba(255, 255, 255, .28); }
.outline-button:disabled { cursor: wait; opacity: .58; }
.loading-retry { display: block; margin: 26px auto 0; border-color: var(--coral); color: var(--coral); }
.outline-button .ui-icon { display: inline-grid; width: 1.2em; height: 1.2em; margin-right: 8px; vertical-align: -.2em; place-items: center; }
.custom-entry { display: block; margin: 27px auto 0; color: var(--coral); border-bottom: 1px dashed rgba(210, 143, 128, .7); }
.source-entry { display: block; width: max-content; max-width: 100%; margin: 20px auto 0; color: var(--ink-soft); font-size: clamp(12px, 1.45vw, 16px); letter-spacing: .04em; text-decoration: underline; text-decoration-color: rgba(126, 113, 99, .45); text-underline-offset: 4px; overflow-wrap: anywhere; }
.source-entry:hover { color: var(--ink); }
.external-arrow { display: inline-grid; width: 1em; height: 1em; margin-left: .25em; vertical-align: -.12em; place-items: center; }
.external-arrow svg { display: block; width: 100%; height: 100%; }
.card-utilities { display: flex; width: var(--card-rail); margin: 18px auto 0; padding-top: 16px; align-items: center; justify-content: center; gap: 12px 24px; border-top: 1px solid rgba(126, 113, 99, .22); flex-wrap: wrap; }
.card-utilities .source-entry, .card-utilities .custom-entry { margin: 0; }
.download-panel { display: grid; width: min(100%, 560px); margin-top: 14px; gap: 9px; color: var(--ink-soft); text-align: center; }
.download-panel p { margin: 0; font-size: 13px; line-height: 1.6; }
.download-panel-link { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 8px 16px; border: 1px solid rgba(157, 111, 101, .55); border-radius: 999px; color: var(--coral); text-decoration: none; }
.download-panel-link:hover, .download-panel-link:focus-visible { color: var(--paper); background: var(--coral); }

.back-stamp { top: 4.8%; right: 4.6%; width: 32%; }
.back-divider { position: absolute; z-index: 2; top: 21%; bottom: 22%; left: 50%; width: 1px; background: rgba(118, 109, 99, .42); }
.back-copy { position: absolute; z-index: 3; top: 30%; left: 54%; width: 44%; min-width: 0; }
.back-copy h2 { min-width: 0; max-width: 100%; margin: 0; color: var(--ink); font-size: clamp(24px, 3.15vw, 40px); font-weight: 400; line-height: 1.3; letter-spacing: .035em; overflow-wrap: anywhere; word-break: normal; }
.back-name-en { min-width: 0; max-width: 100%; margin: 8px 0 20px; color: var(--ink-soft); font-size: var(--back-original-size); line-height: 1.35; letter-spacing: 0; overflow-wrap: anywhere; word-break: normal; }
.back-facts { display: grid; gap: 23px; }
.back-facts p { display: grid; margin: 0; grid-template-columns: 26px minmax(0, 1fr); align-items: start; gap: 15px; color: var(--ink-soft); font-size: var(--back-fact-size); line-height: 1.62; letter-spacing: .02em; }
.back-facts p > span:last-child { min-width: 0; overflow-wrap: anywhere; word-break: normal; }
.fact-icon { display: inline-grid; width: 24px; height: 26px; color: var(--icon); place-items: center; }
.back-facts p:nth-child(2) .fact-icon, .back-facts p:nth-child(3) .fact-icon { width: 25px; height: 25px; }
.back-footer { position: absolute; right: 8%; bottom: 3.5%; z-index: 3; display: inline-flex; max-width: 84%; align-items: center; gap: 10px; margin: 0; color: var(--ink-soft); font-size: var(--back-footer-size); letter-spacing: .03em; overflow-wrap: anywhere; }
.back-footer-icon { display: inline-grid; width: 24px; height: 33px; color: var(--icon); place-items: center; }
.back-usage { position: absolute; right: 8%; bottom: 9.5%; left: 54%; z-index: 3; width: auto; margin: 0; padding-top: 8px; border-top: 1px solid rgba(126, 113, 99, .28); color: var(--ink-soft); font-size: clamp(10px, 1.1vw, 14px); line-height: 1.45; letter-spacing: 0; text-align: left; overflow-wrap: anywhere; }

.back-card { container-type: inline-size; }
@supports (width: 1cqw) {
  .back-copy h2 { font-size: clamp(16px, 5.4cqw, 40px); }
  .back-name-en { margin: clamp(8px, 1.2cqw, 10px) 0 clamp(16px, 2.6cqw, 20px); font-size: clamp(13px, 2.1cqw, 16px); }
  .back-facts { gap: clamp(13px, 3.1cqw, 23px); }
  .back-facts p { grid-template-columns: clamp(18px, 3.51cqw, 26px) minmax(0, 1fr); gap: clamp(7px, 2.03cqw, 15px); font-size: clamp(13px, 2.43cqw, 18px); }
  .fact-icon { width: clamp(17px, 3.24cqw, 24px); height: clamp(20px, 3.51cqw, 26px); }
  .back-facts p:nth-child(2) .fact-icon, .back-facts p:nth-child(3) .fact-icon { width: clamp(18px, 3.38cqw, 25px); height: clamp(18px, 3.38cqw, 25px); }
  .back-footer { gap: clamp(5px, 1.35cqw, 10px); font-size: clamp(10px, 2.06cqw, 17px); }
  .back-footer-icon { width: clamp(18px, 3.24cqw, 24px); height: clamp(25px, 4.46cqw, 33px); }
  .back-usage { width: min(44%, 456px); font-size: clamp(10px, 1.66cqw, 20px); }
}

.custom-page { --content-rail: min(100%, var(--content-max)); padding-bottom: 80px; }
.custom-page .page-topline { border-bottom: 0; }
.custom-page .page-kicker { display: inline-flex; align-items: center; justify-content: center; gap: .5em; line-height: 1.4; letter-spacing: .1em; }
.kicker-lighthouse { display: inline-grid; width: 25px; height: 34px; margin-left: .15em; color: var(--ink); }
.custom-heading { width: var(--content-rail); margin: clamp(88px, 9vw, 112px) auto 0; text-align: center; }
.custom-heading p { margin: 0; max-width: 860px; color: var(--ink); font-size: clamp(15px, 2vw, 21px); line-height: 1.9; letter-spacing: .05em; }
.custom-unavailable { width: min(100%, 620px); margin: 82px auto 0; padding: 42px clamp(24px, 5vw, 56px); border: 1px solid rgba(126, 113, 99, .3); border-radius: 22px; background: rgba(250, 248, 244, .48); text-align: center; }
.custom-unavailable h2 { margin: 0 0 16px; color: var(--ink); font-size: clamp(24px, 3vw, 34px); font-weight: 400; line-height: 1.4; letter-spacing: .06em; }
.custom-unavailable p { margin: 0; color: var(--ink-soft); font-size: clamp(15px, 1.8vw, 19px); line-height: 1.9; letter-spacing: .03em; }
.custom-form { display: grid; width: var(--content-rail); margin: 61px auto 0; grid-template-columns: 1fr auto; align-items: end; column-gap: 18px; row-gap: 11px; }
.custom-form label { color: var(--ink); font-size: clamp(17px, 2vw, 23px); line-height: 1.45; letter-spacing: .06em; }
.custom-form label span { color: var(--muted); font-size: .65em; }
.custom-form input, .custom-form textarea { width: 100%; padding: 13px 18px; grid-column: 1 / -1; border: 1px solid rgba(126, 113, 99, .3); border-radius: 13px; outline: 0; resize: vertical; color: var(--ink); background: rgba(250, 248, 244, .2); font-size: 17px; line-height: 1.7; letter-spacing: .02em; }
.custom-form input { height: 78px; }
.custom-form textarea { min-height: 174px; }
.custom-form input::placeholder, .custom-form textarea::placeholder { color: var(--muted); }
.field-count { grid-column: 2; margin-top: -5px; color: var(--muted); font-size: 11px; line-height: 1.5; letter-spacing: .04em; }
.custom-form label:nth-of-type(2) { margin-top: 16px; }

.custom-preview-card { position: relative; width: var(--content-rail); aspect-ratio: 3 / 2; margin: 64px auto 0; overflow: hidden; border: 1px solid rgba(126, 113, 99, .32); border-radius: 24px; background-color: var(--card); background-image: linear-gradient(var(--card-wash), var(--card-wash)), url("assets/paper-texture-reference.png"); background-size: auto, 280px 210px; box-shadow: 0 15px 30px rgba(101, 88, 72, .11); }
.custom-preview-card::before { position: absolute; z-index: 2; top: 7%; bottom: 7%; left: 43%; width: 1px; background: rgba(118, 109, 99, .5); content: ""; }
.custom-preview-art { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: 57%; overflow: visible; }
.custom-preview-art .postcard-image { position: absolute; inset: 0; object-fit: cover; object-position: center; }
.custom-preview-art::after { position: absolute; z-index: 1; inset: 0; content: ""; pointer-events: none; background: linear-gradient(to right, var(--card) 0%, rgba(250, 248, 244, .2) 18%, transparent 38%, transparent 88%, rgba(250, 248, 244, .55) 100%); }
.custom-preview-writing { position: absolute; z-index: 3; top: 28%; left: 9%; width: 36%; color: var(--ink); }
.custom-preview-writing .preview-line { margin: 0; color: var(--ink); font-size: clamp(17px, 2vw, 24px); font-weight: 400; line-height: 1.6; letter-spacing: .04em; overflow-wrap: anywhere; word-break: break-word; }
.custom-preview-writing .preview-line + .preview-line { margin-top: 24px; }
.custom-preview-writing::after { display: block; width: 86%; height: 1px; margin-top: 35px; background: rgba(126, 113, 99, .3); box-shadow: 0 25px 0 rgba(126, 113, 99, .3), 0 50px 0 rgba(126, 113, 99, .3); content: ""; }
.preview-watermark { position: absolute; z-index: 4; top: 50%; left: 50%; color: rgba(183, 126, 116, .2); font-size: clamp(52px, 9vw, 108px); letter-spacing: .2em; pointer-events: none; transform: translate(-50%, -50%) rotate(-12deg); }
.custom-preview-card.is-unlocked .preview-watermark { opacity: 0; }
.custom-preview-art .custom-stamp { z-index: 6; top: 4%; right: 3.5%; width: 35%; }
.pay-panel { margin-top: 35px; text-align: center; }
.pay-panel p { margin: 0 0 20px; color: var(--ink); font-size: clamp(17px, 2vw, 23px); line-height: 1.5; letter-spacing: .08em; }
.pay-panel .outline-button { min-width: min(100%, 340px); border-color: var(--coral); color: var(--coral); }
.pay-panel span { display: block; margin-top: 13px; color: var(--muted); font-size: 11px; line-height: 1.5; letter-spacing: .02em; }

.about-page { padding-bottom: 120px; }
.about-page .page-topline { border-bottom: 1px solid rgba(126, 113, 99, .3); }
.about-page .page-topline > .quiet-link:first-child { justify-self: start; }
.about-page .page-topline .page-kicker { visibility: hidden; }
.about-heading { position: relative; z-index: 3; margin: clamp(92px, 9vw, 112px) auto 0; text-align: center; }
.about-lighthouse-mark { display: block; width: 42px; height: 58px; margin: 0 auto 20px; color: var(--icon); }
.about-heading h1 { margin: 0 0 24px; color: var(--ink); font-size: clamp(34px, 4.6vw, 54px); font-weight: 400; letter-spacing: .16em; }
.about-heading p { margin: 13px 0 24px; color: #a67f73; font-size: clamp(15px, 1.65vw, 19px); letter-spacing: .04em; }
.heading-rule { display: block; width: 250px; height: 1px; margin: 0 auto; background: var(--coral); }
.about-intro { position: relative; z-index: 3; width: min(100%, 680px); margin: 48px auto 0; text-align: left; }
.about-intro p { margin: 0; color: var(--ink); font-size: clamp(16px, 1.55vw, 20px); line-height: 2; letter-spacing: .035em; }
.about-intro p + p { margin-top: 28px; }
.about-intro .about-contact { margin-top: 24px; color: var(--ink-soft); font-size: clamp(14px, 1.3vw, 17px); line-height: 1.85; }
.about-contact a { color: var(--coral); text-decoration-color: rgba(210, 143, 128, .5); text-underline-offset: 4px; overflow-wrap: anywhere; }
.support-card { position: relative; z-index: 3; width: min(100%, 730px); margin: 76px auto 0; padding: 66px clamp(24px, 5vw, 60px) 52px; border: 1px solid rgba(126, 113, 99, .32); border-radius: 22px; background: rgba(250, 248, 244, .26); text-align: center; }
.support-card > * { position: relative; z-index: 1; }
.support-mark { position: absolute !important; top: -38px; left: 50%; display: grid; width: 76px; height: 76px; place-items: center; border-radius: 50%; color: #fffaf0; background: #c4bbb0; transform: translateX(-50%); }
.support-mark svg { width: 52px; height: 52px; }
.support-card h2 { margin: 0 0 24px; color: var(--ink); font-size: clamp(26px, 3.2vw, 38px); font-weight: 400; letter-spacing: .13em; }
.support-card p { width: min(100%, 560px); margin: 0 auto; color: var(--ink-soft); font-size: clamp(16px, 1.75vw, 19px); line-height: 2.05; letter-spacing: .035em; text-align: left; }
.support-entry { display: block; min-width: min(100%, 220px); margin: 30px auto 0; border-color: var(--coral); color: var(--coral); }
.support-entry:hover, .support-entry:focus-visible { color: var(--paper); background: var(--coral); }
.support-page { padding-bottom: 120px; }
.support-page .page-topline { border-bottom: 1px solid rgba(126, 113, 99, .3); }
.support-page .page-topline > .quiet-link:first-child { justify-self: start; }
.support-page-heading { position: relative; z-index: 3; margin: clamp(92px, 9vw, 112px) auto 0; text-align: center; }
.support-page-heading .about-lighthouse-mark { margin-bottom: 20px; }
.support-page-heading h1 { margin: 0 0 24px; color: var(--ink); font-size: clamp(32px, 4.3vw, 50px); font-weight: 400; letter-spacing: .12em; }
.support-page-heading .heading-rule { width: 190px; background: var(--coral); }
.support-page-copy { width: min(100%, 640px); margin: 48px auto 0; text-align: left; }
.support-page-copy p { margin: 0; color: var(--ink); font-size: clamp(16px, 1.55vw, 20px); line-height: 2; letter-spacing: .035em; }
.support-page-copy .support-page-note { margin-top: 22px; color: var(--ink-soft); font-size: clamp(14px, 1.3vw, 17px); line-height: 1.85; }
.support-choice { width: min(100%, 640px); margin: 56px auto 0; padding: 34px clamp(22px, 4vw, 44px) 30px; border-top: 1px solid rgba(126, 113, 99, .28); border-bottom: 1px solid rgba(126, 113, 99, .28); text-align: center; }
.support-choice h2 { margin: 0; color: var(--ink); font-size: clamp(21px, 2.4vw, 29px); font-weight: 400; letter-spacing: .08em; }
.support-amounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.support-amount { display: grid; min-height: 58px; place-items: center; border: 1px solid rgba(157, 111, 101, .62); border-radius: 999px; color: var(--coral); background: rgba(250, 248, 244, .24); font-size: clamp(18px, 2vw, 24px); letter-spacing: .04em; text-decoration: none; transition: color .2s ease, background-color .2s ease, transform .2s ease; }
.support-amount:hover, .support-amount:focus-visible { color: var(--paper); background: var(--coral); transform: translateY(-1px); }
.support-custom-amount { display: inline-block; margin-top: 18px; color: var(--coral); font-size: clamp(15px, 1.5vw, 18px); letter-spacing: .05em; text-underline-offset: 4px; }
.support-custom-amount:hover, .support-custom-amount:focus-visible { color: var(--ink); }
.support-paypal-note { margin: 20px 0 0; color: var(--muted); font-size: clamp(12px, 1.25vw, 15px); line-height: 1.7; letter-spacing: .02em; }
.about-notes { position: relative; z-index: 3; width: min(100%, 730px); margin: 37px auto 0; color: var(--ink-soft); font-size: clamp(13px, 1.7vw, 17px); line-height: 1.85; letter-spacing: .04em; }
.about-notes > p { margin: 0 0 10px; color: var(--ink); }
.about-notes ul { margin: 0; padding-left: 1.35em; }
.about-notes li + li { margin-top: 8px; }
.about-page { overflow: visible; }
.custom-fallback-entry { display: block; width: max-content; margin: 14px auto 0; color: var(--coral); font-size: clamp(12px, 1.45vw, 16px); letter-spacing: .06em; }

html[data-locale="en"] .card-page .page-topline > .quiet-link { min-width: max-content; white-space: nowrap; letter-spacing: .01em; }
html[data-locale="en"] body { font-family: "Iowan Old Style", "Baskerville", "Palatino", "Georgia", "Times New Roman", "Noto Serif CJK SC", serif; }
html[data-locale="en"] .card-titleline { gap: clamp(6px, .8vw, 10px); letter-spacing: .018em; }
html[data-locale="en"] .card-titleline strong { max-width: min(36vw, 320px); letter-spacing: 0; overflow-wrap: normal; word-break: normal; text-wrap: balance; }
html[data-locale="zh-CN"] .card-titleline > span:first-child { color: var(--muted); font-size: .86em; letter-spacing: .08em; }
html[data-locale="zh-CN"] .card-titleline strong { color: var(--ink); font-size: 1.1em; font-weight: 500; letter-spacing: .02em; }
html[data-locale="zh-CN"] .back-copy h2 { word-break: keep-all; overflow-wrap: normal; }
html[data-locale="en"] .front-phrase { letter-spacing: .025em; }
html[data-locale="en"] .front-place { max-width: 96%; color: var(--ink-soft); font-size: clamp(13px, 2.1cqw, 18px); letter-spacing: 0; }
html[data-locale="en"] .back-copy h2 { letter-spacing: 0; }
html[data-locale="en"] .back-facts { gap: 17px; }
html[data-locale="en"] .back-facts p { gap: 10px; letter-spacing: 0; }
html[data-locale="en"] .back-name-en { letter-spacing: 0; }
html[data-locale="en"] .back-footer { letter-spacing: 0; }
html[data-locale="en"] .option-c-home-helper { top: 63%; right: 8%; left: 44%; max-width: 48%; letter-spacing: .015em; }
html[data-locale="en"] .custom-heading p,
html[data-locale="en"] .custom-form label,
html[data-locale="en"] .pay-panel p,
html[data-locale="en"] .preview-line { letter-spacing: .018em; }
html[data-locale="en"] .about-heading h1,
html[data-locale="en"] .support-card h2 { letter-spacing: .045em; }
html[data-locale="en"] .about-heading p,
html[data-locale="en"] .about-intro p,
html[data-locale="en"] .support-card p,
html[data-locale="en"] .about-notes,
html[data-locale="en"] .support-page-copy p,
html[data-locale="en"] .support-page-note,
html[data-locale="en"] .support-choice h2 { letter-spacing: .015em; }

.toast { position: fixed; z-index: 20; right: 18px; bottom: 18px; max-width: min(360px, calc(100% - 36px)); padding: 12px 16px; border: 1px solid rgba(137, 117, 96, .3); border-radius: 12px; color: var(--ink); background: rgba(251, 248, 241, .96); box-shadow: 0 8px 20px rgba(101, 83, 61, .15); font-size: 14px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

@media (max-width: 700px) {
  .reference-page { padding: 28px 14px calc(56px + env(safe-area-inset-bottom)); }
  .page-topline { gap: 8px; }
  .quiet-link, .page-kicker { font-size: 14px; letter-spacing: .025em; }
  .card-page { padding-top: 34px; }
  .card-page .page-topline { grid-template-columns: minmax(0, 1fr) minmax(0, auto); gap: 5px; }
  .card-page .page-topline { grid-template-areas: "back about" "title title"; row-gap: 8px; }
  .card-page .page-topline > .quiet-link:first-child { grid-area: back; }
  .card-page .page-topline .card-titleline { grid-area: title; min-width: 0; }
  .card-page .page-topline > .quiet-link:last-child { grid-area: about; justify-self: end; }
  .card-page .page-topline > .quiet-link { min-height: 44px; padding: 10px 4px; font-size: 15px; letter-spacing: .01em; }
  .card-page .page-topline > .quiet-link:first-child { width: auto; overflow: visible; white-space: nowrap; }
  .card-page .page-topline > .quiet-link:first-child span { margin-right: 4px; font-size: 17px; }
  .card-page .page-topline > .quiet-link:last-child { white-space: nowrap; }
  .card-titleline { gap: 6px; font-size: 16px; letter-spacing: .025em; }
  .card-page { --card-rail: min(92vw, 560px, 100%); }
  .postcard-wrap, .card-actions, .card-utilities { width: var(--card-rail); }
  .card-page .postcard-wrap { margin-top: 28px; }
  .card-page.is-flipped .postcard-wrap { margin-top: 28px; }
  .postcard-face { border-radius: 20px; }
  .card-actions { gap: 10px; margin-top: 22px; }
  .card-utilities { flex-direction: column; gap: 10px; margin-top: 14px; padding-top: 12px; padding-bottom: env(safe-area-inset-bottom); }
  .outline-button { min-height: 48px; padding: 8px 10px; border-radius: 13px; font-size: 14px; letter-spacing: .03em; }
  .loading-retry { margin-top: 18px; }
  .outline-button .ui-icon { margin-right: 4px; }
  .custom-entry, .source-entry { margin: 0; font-size: 13px; }
  .postcard-back::before { top: 31%; left: 8%; width: 35%; height: 14%; }
  .back-copy { top: 30%; left: 53%; width: 44%; }
  .postcard-inner { transform: none; transition: none; }
  .postcard-inner.is-flipped { transform: none; }
  .postcard-face { transition: opacity .22s ease; }
  .postcard-front { transform: none; visibility: visible; opacity: 1; pointer-events: auto; }
  .postcard-back { transform: none; visibility: hidden; opacity: 0; pointer-events: none; }
  .postcard-inner.is-flipped .postcard-front { visibility: hidden; opacity: 0; pointer-events: none; }
  .postcard-inner.is-flipped .postcard-back { visibility: visible; opacity: 1; pointer-events: auto; }
  .custom-page .page-topline { min-height: 38px; }
  .custom-page .page-kicker { font-size: 13px; }
  .custom-heading { margin-top: 75px; }
  .custom-heading p { font-size: 14px; line-height: 1.85; }
  .custom-unavailable { margin-top: 42px; padding: 30px 20px; border-radius: 17px; }
  .custom-unavailable h2 { font-size: 24px; letter-spacing: .03em; }
  .custom-unavailable p { font-size: 14px; line-height: 1.8; }
  .custom-form { margin-top: 35px; }
  .custom-form label { font-size: 16px; }
  .custom-form input, .custom-form textarea { font-size: 15px; }
  .custom-form input { height: 60px; }
  .custom-form textarea { min-height: 136px; }
  .custom-preview-card { margin-top: 34px; border-radius: 17px; }
  .custom-preview-writing { top: 24%; left: 7%; width: 39%; }
  .custom-preview-writing .preview-line { font-size: clamp(14px, 4vw, 18px); line-height: 1.65; letter-spacing: .04em; }
  .custom-preview-writing .preview-line + .preview-line { margin-top: 14px; }
  .custom-preview-writing::after { margin-top: 21px; }
  .preview-watermark { font-size: clamp(42px, 14vw, 74px); }
  .pay-panel { margin-top: 28px; }
  .about-heading { margin-top: 54px; }
  .about-lighthouse-mark { width: 38px; height: 52px; margin-bottom: 14px; }
  .about-heading h1 { margin-bottom: 20px; font-size: 32px; }
  .about-heading p { font-size: 14px; }
  .heading-rule { width: 170px; }
  .about-intro { margin-top: 34px; }
  .about-intro p, .support-card p { font-size: 15px; line-height: 1.95; letter-spacing: .02em; }
  .about-intro p + p { margin-top: 22px; }
  .about-intro .about-contact { margin-top: 20px; font-size: 14px; line-height: 1.85; }
  .support-card { margin-top: 56px; padding: 52px 22px 36px; }
  .support-mark { width: 66px; height: 66px; top: -33px; }
  .support-mark svg { width: 46px; height: 46px; }
  .support-card h2 { margin-bottom: 22px; font-size: 26px; }
  .support-entry { margin-top: 24px; }
  .support-page-heading { margin-top: 54px; }
  .support-page-heading .about-lighthouse-mark { width: 38px; height: 52px; margin-bottom: 14px; }
  .support-page-heading h1 { margin-bottom: 18px; font-size: 30px; }
  .support-page-copy { margin-top: 34px; }
  .support-page-copy p { font-size: 15px; line-height: 1.95; letter-spacing: .02em; }
  .support-page-copy .support-page-note { margin-top: 18px; font-size: 14px; line-height: 1.85; }
  .support-choice { margin-top: 40px; padding: 28px 16px 24px; }
  .support-choice h2 { font-size: 22px; }
  .support-amounts { gap: 9px; margin-top: 22px; }
  .support-amount { min-height: 52px; font-size: 18px; }
  .support-custom-amount { margin-top: 16px; font-size: 15px; }
  .support-paypal-note { font-size: 12px; }
  .about-notes { margin-top: 26px; font-size: 13px; }
  .custom-fallback-entry { margin-top: 12px; }
  html[data-locale="en"] .card-page .page-topline > .quiet-link { min-width: 0; font-size: 15px; letter-spacing: 0; }
  html[data-locale="en"] .card-page .page-topline > .quiet-link:first-child { min-width: 0; width: auto; font-size: 15px; }
  html[data-locale="en"] .card-titleline strong { max-width: min(70vw, 300px); font-size: 1.08em; }
  html[data-locale="zh-CN"] .card-titleline > span:first-child { font-size: .82em; }
  html[data-locale="zh-CN"] .card-titleline strong { font-size: 1.08em; }
  html[data-locale="en"] .option-c-home-helper { top: 68%; right: 7%; left: 43%; max-width: 50%; letter-spacing: 0; }
  html[data-locale="en"] .option-c-encounter { font-size: 12px; letter-spacing: 0; }
  html[data-locale="en"] .front-place { max-width: 98%; font-size: clamp(12px, 3.5cqw, 15px); }
  html[data-locale="en"] .back-facts { gap: 14px; }
  html[data-locale="en"] .back-facts p { gap: 8px; }
  html[data-locale="en"] .about-heading h1 { letter-spacing: .025em; }
}

@media (max-width: 360px) {
  .card-page .page-topline > .quiet-link { font-size: 14px; }
}

@media (max-width: 340px) {
  .back-copy { top: 21%; }
  .back-divider { bottom: 26%; }
}

@media (min-width: 1100px) { .reference-page { padding-top: 46px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
