/* 湾区来信 · 标准 3:2 旅行明信片 */
.postcard-preview-overlay {
  --postcard-ink: #1c2923;
  --postcard-jade: #123f35;
  --postcard-jade-deep: #0b2d26;
  --postcard-paper: #f4ecd9;
  --postcard-paper-light: #fbf6e9;
  --postcard-gold: #c9a85c;
  --postcard-cinnabar: #aa4234;
  --postcard-muted: #766b56;
  align-items: center;
  overflow: hidden;
  padding: 20px;
  background:
    radial-gradient(circle at 18% 10%, rgba(201, 168, 92, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(8, 24, 20, 0.78), rgba(9, 30, 25, 0.92));
}

.postcard-preview-overlay::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.17;
  background-image: url("../public/textures/ink-paper.webp");
  background-size: 680px auto;
  mix-blend-mode: soft-light;
}

.postcard-preview-overlay .recollect-share-close {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  width: 42px;
  height: 42px;
  border: 1px solid rgba(244, 236, 217, 0.38);
  border-radius: 50%;
  background: rgba(9, 30, 25, 0.76);
  color: #fff8e8;
  font: 300 28px/1 Inter, system-ui, sans-serif;
  box-shadow: 0 12px 28px rgba(2, 10, 8, 0.24);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.postcard-preview-overlay .recollect-share-close:hover {
  border-color: rgba(244, 236, 217, 0.72);
  background: rgba(19, 63, 53, 0.96);
}

.postcard-preview-overlay .recollect-share-close:focus-visible,
.postcard-side-switch button:focus-visible,
.postcard-actions button:focus-visible {
  outline: 3px solid rgba(231, 201, 120, 0.94);
  outline-offset: 3px;
}

.recollect-postcard-shell.postcard-studio {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(1020px, calc(100vw - 40px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 0 8px 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(244, 236, 217, 0.36) transparent;
}

.postcard-preview-head {
  display: flex;
  width: min(920px, 100%);
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  color: #f7eedb;
}

.postcard-preview-heading {
  min-width: 0;
}

.postcard-preview-heading > span {
  display: block;
  margin-bottom: 5px;
  color: #dfc477;
  font: 700 11px/1.3 Inter, system-ui, sans-serif;
  letter-spacing: 0.14em;
}

.postcard-preview-heading h2 {
  margin: 0;
  color: #fff8e8;
  font-family: "Ma Shan Zheng", KaiTi, serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.05em;
}

.postcard-preview-heading p {
  margin: 7px 0 0;
  color: rgba(247, 238, 219, 0.7);
  font-size: 12px;
  line-height: 1.5;
}

.postcard-side-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(100px, 1fr));
  flex: 0 0 auto;
  border: 1px solid rgba(244, 236, 217, 0.35);
  background: rgba(6, 25, 21, 0.42);
  padding: 3px;
}

.postcard-side-switch button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: rgba(247, 238, 219, 0.72);
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.postcard-side-switch button:hover {
  color: #fff8e8;
}

.postcard-side-switch button.is-active {
  background: var(--postcard-paper);
  color: var(--postcard-jade-deep);
  box-shadow: 0 4px 14px rgba(2, 13, 10, 0.2);
}

.postcard-side-switch svg,
.postcard-actions svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.postcard-stage {
  position: relative;
  width: min(920px, calc((100dvh - 220px) * 1.5), 100%);
  aspect-ratio: 3 / 2;
  min-height: 0;
  filter: drop-shadow(0 26px 38px rgba(1, 12, 9, 0.34));
}

.postcard-face.recollect-postcard {
  position: relative;
  display: none;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 3px;
  background: var(--postcard-paper);
  color: var(--postcard-ink);
  box-shadow: inset 0 0 0 1px rgba(63, 52, 34, 0.17);
  isolation: isolate;
}

.postcard-face.recollect-postcard.is-active {
  display: grid;
  animation: postcard-face-in 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes postcard-face-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.postcard-front {
  grid-template-columns: minmax(0, 1.72fr) minmax(230px, 0.88fr);
}

.postcard-front-map {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--postcard-jade);
}

.postcard-front-map::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 28, 23, 0.8), transparent 30%, rgba(8, 39, 32, 0.06) 62%, rgba(7, 31, 26, 0.66)),
    linear-gradient(90deg, transparent 70%, rgba(7, 30, 25, 0.36));
}

.postcard-front-map .postcard-map-shot,
.postcard-front-map .postcard-journey-fallback,
.postcard-front-map .postcard-atlas-wash,
.postcard-front-map .postcard-journey-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.postcard-front-map .postcard-map-shot {
  object-fit: cover;
  opacity: 0.72;
  filter: grayscale(0.28) sepia(0.08) saturate(0.82) contrast(1.08) brightness(0.76);
  transform: scale(1.04);
}

.postcard-front-map .postcard-journey-fallback {
  background:
    radial-gradient(circle at 70% 24%, rgba(202, 171, 94, 0.2), transparent 24%),
    linear-gradient(145deg, rgba(69, 123, 107, 0.64), transparent 50%),
    repeating-linear-gradient(22deg, rgba(244, 236, 217, 0.07) 0 1px, transparent 1px 28px),
    #123f35;
}

.postcard-front-map .postcard-atlas-wash {
  z-index: 1;
  background:
    radial-gradient(circle at 52% 48%, transparent 8%, rgba(12, 52, 43, 0.22) 70%),
    linear-gradient(135deg, rgba(201, 168, 92, 0.06), transparent 48%);
}

.postcard-front-brandline {
  position: absolute;
  top: 24px;
  right: 26px;
  left: 26px;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 248, 230, 0.82);
  font-family: Inter, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.postcard-front-brandline span {
  font-family: "Ma Shan Zheng", KaiTi, serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.postcard-front-brandline em {
  font-style: normal;
}

.postcard-front-copy {
  position: absolute;
  top: 76px;
  left: 28px;
  z-index: 7;
  width: min(370px, 70%);
  color: #fff8e8;
}

.postcard-front-copy .postcard-kicker {
  display: block;
  margin-bottom: 8px;
  color: #e5c976;
  font-family: Inter, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.postcard-front-copy h2 {
  margin: 0;
  max-width: 12em;
  color: #fff9ea;
  font-family: "Ma Shan Zheng", KaiTi, serif;
  font-size: clamp(24px, 3.6vw, 45px);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: 0.02em;
  text-shadow: 0 3px 16px rgba(3, 15, 12, 0.58);
}

.postcard-front-copy p {
  margin: 12px 0 0;
  color: rgba(255, 248, 230, 0.78);
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(10px, 1.25vw, 13px);
  font-weight: 650;
  line-height: 1.5;
}

.postcard-front-map .postcard-journey-route {
  z-index: 4;
  pointer-events: none;
}

.postcard-front-map .postcard-journey-route-shadow {
  fill: none;
  stroke: rgba(3, 15, 12, 0.68);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.postcard-front-map .postcard-journey-route-line {
  fill: none;
  stroke: #efd57f;
  stroke-width: 2.4;
  stroke-dasharray: 7 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.postcard-front-map .postcard-atlas-stop {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  max-width: 148px;
  align-items: center;
  gap: 7px;
  transform: translate(-16px, -50%);
}

.postcard-front-map .postcard-atlas-stop b {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid #fff4dc;
  border-radius: 50%;
  background: var(--postcard-cinnabar);
  color: #fffaf0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 0 0 7px rgba(170, 66, 52, 0.2), 0 4px 12px rgba(2, 13, 10, 0.3);
}

.postcard-front-map .postcard-atlas-stop.is-free b {
  background: #327a68;
  box-shadow: 0 0 0 7px rgba(50, 122, 104, 0.2), 0 4px 12px rgba(2, 13, 10, 0.3);
}

.postcard-front-map .postcard-atlas-stop em {
  overflow: hidden;
  max-width: 102px;
  border: 1px solid rgba(255, 244, 220, 0.24);
  border-radius: 2px;
  background: rgba(5, 24, 20, 0.72);
  padding: 5px 7px;
  color: rgba(255, 250, 238, 0.94);
  font-family: Inter, system-ui, sans-serif;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.postcard-front-seal {
  position: absolute;
  right: 24px;
  bottom: 22px;
  z-index: 7;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 2px solid #efce74;
  border-radius: 5px;
  background: rgba(8, 38, 31, 0.76);
  color: #f0d984;
  font-family: "Ma Shan Zheng", KaiTi, serif;
  font-size: 16px;
  line-height: 0.96;
  transform: rotate(-7deg);
}

.postcard-front-gallery {
  display: grid;
  min-width: 0;
  grid-template-rows: minmax(0, 1fr) auto;
  border-left: 7px solid var(--postcard-paper);
  background: var(--postcard-paper);
}

.postcard-photo-mosaic {
  display: grid;
  min-height: 0;
  gap: 5px;
  padding: 7px 7px 0 0;
  background: var(--postcard-paper);
}

.postcard-photo-mosaic[data-count="1"] {
  grid-template-columns: 1fr;
}

.postcard-photo-mosaic[data-count="2"] {
  grid-template-rows: repeat(2, 1fr);
}

.postcard-photo-mosaic[data-count="3"] {
  grid-template-columns: 1.12fr 0.88fr;
  grid-template-rows: repeat(2, 1fr);
}

.postcard-photo-mosaic[data-count="3"] .postcard-photo-1 {
  grid-row: 1 / 3;
}

.postcard-photo-mosaic.is-empty {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #d8c9a8;
}

.postcard-photo-mosaic.is-empty img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.1) saturate(0.78);
}

.postcard-photo-mosaic.is-empty span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  color: #fff8e8;
  font-family: "Ma Shan Zheng", KaiTi, serif;
  font-size: 20px;
  text-shadow: 0 2px 10px rgba(5, 22, 18, 0.7);
}

.postcard-photo {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #d9ccb0;
}

.postcard-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(35, 45, 39, 0.14);
}

.postcard-photo-media,
.postcard-photo-media img,
.postcard-photo-media video {
  display: block;
  width: 100%;
  height: 100%;
}

.postcard-photo-media img,
.postcard-photo-media video {
  object-fit: cover;
  filter: saturate(0.86) contrast(1.03) sepia(0.05);
}

.postcard-photo figcaption {
  position: absolute;
  right: 8px;
  bottom: 7px;
  z-index: 2;
  color: rgba(255, 250, 238, 0.9);
  font-family: Playfair Display, Georgia, serif;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 6px rgba(4, 17, 14, 0.7);
}

.postcard-front-caption {
  position: relative;
  min-height: 118px;
  padding: 17px 18px 15px;
  background:
    linear-gradient(rgba(252, 247, 233, 0.93), rgba(244, 236, 217, 0.94)),
    url("../public/textures/ink-paper.webp");
  background-size: auto, 420px auto;
}

.postcard-front-caption::before {
  position: absolute;
  top: 0;
  right: 16px;
  left: 16px;
  border-top: 1px dashed rgba(100, 80, 43, 0.3);
  content: "";
}

.postcard-front-caption span,
.postcard-front-caption small {
  display: block;
  color: var(--postcard-muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.postcard-front-caption strong {
  display: block;
  margin: 5px 0 9px;
  color: var(--postcard-ink);
  font-family: "Ma Shan Zheng", KaiTi, serif;
  font-size: clamp(19px, 2.3vw, 29px);
  font-weight: 400;
  line-height: 1.08;
}

.postcard-print-frame {
  position: absolute;
  inset: 9px;
  z-index: 20;
  border: 1px solid rgba(250, 240, 214, 0.34);
  pointer-events: none;
}

.postcard-back {
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: 30px 34px 22px;
  background:
    linear-gradient(rgba(248, 241, 224, 0.9), rgba(244, 235, 213, 0.92)),
    url("../public/textures/ink-paper.webp");
  background-size: auto, 680px auto;
}

.postcard-paper-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.18;
  background:
    radial-gradient(circle at 8% 12%, rgba(163, 62, 49, 0.22), transparent 25%),
    radial-gradient(circle at 92% 88%, rgba(39, 88, 73, 0.18), transparent 28%);
}

.postcard-back-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(90, 71, 40, 0.22);
}

.postcard-back-head span {
  display: block;
  color: var(--postcard-cinnabar);
  font-family: "Ma Shan Zheng", KaiTi, serif;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
  letter-spacing: 0.08em;
}

.postcard-back-head small,
.postcard-back-head b {
  color: #81745c;
  font-family: Inter, system-ui, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.postcard-back-head small {
  display: block;
  margin-top: 7px;
}

.postcard-back-head b {
  padding-top: 5px;
  white-space: nowrap;
}

.postcard-back-grid {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(0, 1.18fr) minmax(250px, 0.82fr);
  padding-top: 20px;
}

.postcard-letter {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  padding: 6px 32px 0 3px;
  border-right: 1px solid rgba(90, 71, 40, 0.28);
}

.postcard-letter-kicker {
  color: var(--postcard-cinnabar);
  font-family: Inter, system-ui, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.postcard-letter h2 {
  display: -webkit-box;
  overflow: hidden;
  margin: 10px 0 0;
  max-width: 15em;
  color: var(--postcard-ink);
  font-family: "Ma Shan Zheng", KaiTi, serif;
  font-size: clamp(24px, 3.25vw, 40px);
  font-weight: 400;
  line-height: 1.14;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.postcard-letter > p {
  display: -webkit-box;
  overflow: hidden;
  max-width: 42em;
  margin: 12px 0 0;
  color: #514b3f;
  font-family: "Ma Shan Zheng", KaiTi, serif;
  font-size: clamp(14px, 1.55vw, 18px);
  line-height: 1.58;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.postcard-letter blockquote {
  display: -webkit-box;
  overflow: hidden;
  margin: 12px 0 0;
  padding: 8px 12px;
  border-left: 2px solid rgba(170, 66, 52, 0.58);
  background: rgba(255, 250, 239, 0.34);
  color: #655a47;
  font-family: "Ma Shan Zheng", KaiTi, serif;
  font-size: clamp(11px, 1.2vw, 14px);
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.postcard-letter blockquote span {
  display: block;
  margin-bottom: 3px;
  color: #9a3d32;
  font-family: Inter, system-ui, sans-serif;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.postcard-signature {
  display: flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 9px;
  margin-top: auto;
  padding-top: 8px;
  color: #74664f;
  font-size: 9px;
}

.postcard-signature strong {
  color: var(--postcard-jade);
  font-family: "Ma Shan Zheng", KaiTi, serif;
  font-size: 18px;
  font-weight: 400;
}

.postcard-address {
  position: relative;
  min-width: 0;
  padding: 124px 10px 0 34px;
}

.postcard-stamp-art {
  position: absolute;
  top: 2px;
  right: 3px;
  width: 94px;
  height: 112px;
  overflow: hidden;
  border: 5px solid #f8efd9;
  outline: 1px dashed rgba(87, 68, 37, 0.45);
  outline-offset: 2px;
  background: #d1bd8b;
  box-shadow: 0 4px 10px rgba(63, 48, 26, 0.16);
  transform: rotate(1.5deg);
}

.postcard-stamp-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) sepia(0.08);
}

.postcard-stamp-art span {
  position: absolute;
  right: 5px;
  bottom: 5px;
  padding: 3px 4px;
  background: rgba(15, 55, 46, 0.72);
  color: #fff4dc;
  font-family: "Ma Shan Zheng", KaiTi, serif;
  font-size: 11px;
  line-height: 1;
  text-align: center;
}

.postcard-postmark {
  position: absolute;
  top: 32px;
  left: 28px;
  width: 112px;
  height: 72px;
  border: 2px solid rgba(152, 57, 46, 0.56);
  border-radius: 50%;
  color: rgba(152, 57, 46, 0.7);
  font-family: Inter, system-ui, sans-serif;
  text-align: center;
  transform: rotate(-9deg);
}

.postcard-postmark span,
.postcard-postmark b {
  display: block;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.09em;
}

.postcard-postmark span {
  margin-top: 16px;
}

.postcard-postmark b {
  margin-top: 3px;
  font-size: 7px;
}

.postcard-postmark i {
  position: absolute;
  top: 27px;
  left: 104px;
  display: block;
  width: 66px;
  border-top: 1px solid rgba(152, 57, 46, 0.5);
}

.postcard-postmark i:nth-of-type(2) { top: 34px; width: 73px; }
.postcard-postmark i:nth-of-type(3) { top: 41px; width: 62px; }

.postcard-address-copy {
  position: relative;
  z-index: 2;
}

.postcard-address-copy span {
  color: var(--postcard-cinnabar);
  font-family: Inter, system-ui, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.postcard-address-copy strong {
  display: block;
  margin-top: 8px;
  color: var(--postcard-ink);
  font-family: "Ma Shan Zheng", KaiTi, serif;
  font-size: clamp(17px, 2.15vw, 27px);
  font-weight: 400;
  line-height: 1.25;
}

.postcard-address-copy p {
  margin: 13px 0 0;
  color: #6d624f;
  font-size: clamp(10px, 1.15vw, 13px);
  font-weight: 650;
  line-height: 1.55;
}

.postcard-address-lines {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.postcard-address-lines i {
  display: block;
  border-top: 1px solid rgba(90, 71, 40, 0.28);
}

.postcard-back-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 13px;
  border-top: 1px solid rgba(90, 71, 40, 0.22);
  color: #7b6d55;
  font-family: Inter, system-ui, sans-serif;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.postcard-back-footer em {
  overflow: hidden;
  max-width: 55%;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.postcard-interaction-hint {
  min-height: 18px;
  margin: 0;
  color: rgba(247, 238, 219, 0.67);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.postcard-actions.recollect-share-actions {
  display: grid;
  width: min(520px, 100%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.postcard-actions .recollect-share-download,
.postcard-actions .recollect-share-native {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 3px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.postcard-actions .recollect-share-download {
  border: 1px solid rgba(244, 236, 217, 0.58);
  background: rgba(244, 236, 217, 0.08);
  color: #fff8e8;
}

.postcard-actions .recollect-share-native {
  border: 1px solid #d1af60;
  background: #d1af60;
  color: #17372f;
}

.postcard-actions .recollect-share-download:hover {
  border-color: #f4ecd9;
  background: rgba(244, 236, 217, 0.17);
  color: #fff;
}

.postcard-actions .recollect-share-native:hover {
  border-color: #e0c67f;
  background: #e0c67f;
}

.postcard-export-host {
  --postcard-ink: #1c2923;
  --postcard-jade: #123f35;
  --postcard-jade-deep: #0b2d26;
  --postcard-paper: #f4ecd9;
  --postcard-paper-light: #fbf6e9;
  --postcard-gold: #c9a85c;
  --postcard-cinnabar: #aa4234;
  --postcard-muted: #766b56;
  position: fixed;
  top: 0;
  left: -10000px;
  width: 1200px;
  height: 800px;
  overflow: hidden;
  pointer-events: none;
}

.postcard-face.is-exporting {
  display: grid !important;
  width: 1200px !important;
  height: 800px !important;
  border-radius: 0 !important;
  animation: none !important;
}

.postcard-face.is-exporting .postcard-front-copy h2 { font-size: 54px; }
.postcard-face.is-exporting .postcard-front-caption strong { font-size: 36px; }
.postcard-face.is-exporting .postcard-back-head span { font-size: 44px; }
.postcard-face.is-exporting .postcard-letter h2 { font-size: 52px; }
.postcard-face.is-exporting .postcard-letter > p { font-size: 25px; }
.postcard-face.is-exporting .postcard-address-copy strong { font-size: 32px; }

@media (max-width: 720px) {
  .postcard-preview-overlay {
    padding: 12px;
  }

  .recollect-postcard-shell.postcard-studio {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    gap: 10px;
    padding: 0 2px 4px;
  }

  .postcard-preview-head {
    align-items: center;
  }

  .postcard-preview-heading > span,
  .postcard-preview-heading p {
    display: none;
  }

  .postcard-preview-heading h2 {
    font-size: 28px;
  }

  .postcard-side-switch {
    grid-template-columns: repeat(2, minmax(76px, 1fr));
  }

  .postcard-side-switch button {
    min-height: 38px;
    font-size: 11px;
  }

  .postcard-stage {
    width: min(100%, calc((100dvh - 178px) * 1.5));
  }

  .postcard-front {
    grid-template-columns: minmax(0, 1.64fr) minmax(118px, 0.86fr);
  }

  .postcard-front-brandline {
    top: 13px;
    right: 14px;
    left: 14px;
    font-size: 7px;
  }

  .postcard-front-brandline span {
    font-size: 12px;
  }

  .postcard-front-copy {
    top: 40px;
    left: 15px;
    width: 76%;
  }

  .postcard-front-copy .postcard-kicker,
  .postcard-front-copy p,
  .postcard-front-map .postcard-atlas-stop em {
    display: none;
  }

  .postcard-front-copy h2 {
    font-size: clamp(15px, 5.2vw, 26px);
  }

  .postcard-front-map .postcard-atlas-stop b {
    width: 20px;
    height: 20px;
    border-width: 1px;
    font-size: 8px;
    box-shadow: 0 0 0 4px rgba(170, 66, 52, 0.2);
  }

  .postcard-front-seal {
    right: 12px;
    bottom: 12px;
    width: 34px;
    height: 34px;
    font-size: 10px;
  }

  .postcard-front-gallery {
    border-left-width: 4px;
  }

  .postcard-photo-mosaic {
    gap: 3px;
    padding: 4px 4px 0 0;
  }

  .postcard-front-caption {
    min-height: 66px;
    padding: 9px 9px 8px;
  }

  .postcard-front-caption span,
  .postcard-front-caption small {
    font-size: 6px;
  }

  .postcard-front-caption strong {
    margin: 3px 0 5px;
    font-size: clamp(11px, 3.5vw, 17px);
  }

  .postcard-back {
    padding: 16px 18px 12px;
  }

  .postcard-back-head {
    padding-bottom: 8px;
  }

  .postcard-back-head span {
    font-size: 21px;
  }

  .postcard-back-head small,
  .postcard-back-head b {
    font-size: 6px;
  }

  .postcard-back-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(118px, 0.82fr);
    padding-top: 10px;
  }

  .postcard-letter {
    padding: 2px 14px 0 1px;
  }

  .postcard-letter-kicker,
  .postcard-letter blockquote,
  .postcard-address-lines {
    display: none;
  }

  .postcard-letter h2 {
    margin-top: 2px;
    font-size: clamp(14px, 4.8vw, 24px);
  }

  .postcard-letter > p {
    margin-top: 7px;
    font-size: clamp(9px, 2.65vw, 13px);
    line-height: 1.48;
  }

  .postcard-signature {
    padding-top: 6px;
    font-size: 6px;
  }

  .postcard-signature strong {
    font-size: 11px;
  }

  .postcard-address {
    padding: 69px 3px 0 14px;
  }

  .postcard-stamp-art {
    width: 51px;
    height: 60px;
    border-width: 3px;
  }

  .postcard-stamp-art span {
    right: 2px;
    bottom: 2px;
    padding: 2px;
    font-size: 7px;
  }

  .postcard-postmark {
    top: 18px;
    left: 10px;
    width: 62px;
    height: 40px;
    border-width: 1px;
  }

  .postcard-postmark span {
    margin-top: 9px;
  }

  .postcard-postmark span,
  .postcard-postmark b {
    font-size: 5px;
  }

  .postcard-postmark i {
    top: 15px;
    left: 57px;
    width: 31px;
  }

  .postcard-postmark i:nth-of-type(2) { top: 19px; width: 36px; }
  .postcard-postmark i:nth-of-type(3) { top: 23px; width: 29px; }

  .postcard-address-copy span {
    font-size: 6px;
  }

  .postcard-address-copy strong {
    margin-top: 4px;
    font-size: clamp(10px, 3.2vw, 15px);
  }

  .postcard-address-copy p {
    margin-top: 6px;
    font-size: 7px;
  }

  .postcard-back-footer {
    padding-top: 7px;
    font-size: 5px;
  }

  .postcard-interaction-hint {
    font-size: 9px;
  }

  .postcard-actions .recollect-share-download,
  .postcard-actions .recollect-share-native {
    min-height: 42px;
    font-size: 11px;
  }
}

@media (orientation: landscape) and (max-height: 600px) {
  .postcard-preview-overlay {
    padding: 8px 12px;
  }

  .recollect-postcard-shell.postcard-studio {
    display: grid;
    width: min(980px, calc(100vw - 24px));
    max-height: calc(100dvh - 16px);
    grid-template-columns: minmax(0, 1fr) minmax(174px, 0.3fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 9px 14px;
    overflow: hidden;
    padding: 0;
  }

  .postcard-preview-head {
    display: grid;
    width: 100%;
    grid-column: 2;
    grid-row: 1;
    gap: 10px;
    align-self: end;
  }

  .postcard-preview-heading h2 {
    font-size: 27px;
  }

  .postcard-side-switch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .postcard-side-switch button {
    min-width: 0;
    min-height: 36px;
    padding: 0 5px;
    font-size: 10px;
  }

  .postcard-stage {
    width: min(100%, calc((100dvh - 16px) * 1.5));
    grid-column: 1;
    grid-row: 1 / 4;
    align-self: center;
    justify-self: end;
  }

  .postcard-interaction-hint {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    padding: 0 4px;
    text-align: left;
  }

  .postcard-actions.recollect-share-actions {
    width: 100%;
    grid-column: 2;
    grid-row: 3;
    grid-template-columns: 1fr;
    align-self: end;
    gap: 7px;
  }

  .postcard-actions .recollect-share-download,
  .postcard-actions .recollect-share-native {
    min-height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .postcard-face.recollect-postcard.is-active {
    animation: none;
  }

  .postcard-side-switch button,
  .postcard-actions .recollect-share-download,
  .postcard-actions .recollect-share-native {
    transition: none;
  }
}
