:root {
  --app-width: 480px;
  --invitation-scale: 1;
  --primary: #b7004f;
  --primary-soft: #fff0f5;
  --secondary: #fd7b3b;
  --tertiary: #9c53cd;
  --cover-texture-image: none;
  --envelope-back-scale: 1.018;
  --envelope-front-scale: 1.018;
  --envelope-flap-width: 94.8%;
  --envelope-flap-offset-y: -4.6%;
  --envelope-paper-open-y: -164px;
  --envelope-front-open-y: -6px;
  --cover-base-motion-duration: 16s;
  --cover-top-motion-duration: 11s;
  --action-button-color: #8f6f56;
  --card-gradient-start: #fffdf9;
  --card-gradient-end: #f8f2eb;
  --card-surface-image: linear-gradient(180deg, var(--card-gradient-start), var(--card-gradient-end));
  --card-ornament-image: none;
  --card-ornament-size: 142px;
  --divider-ornament-image: none;
  --divider-ornament-width: 220px;
  --divider-ornament-ratio: 220 / 46;
  --launched-element-image: none;
  --surface: #f9f9f9;
  --surface-raised: #ffffff;
  --text: #1a1c1c;
  --muted: #6e6265;
  --line: #eeeeee;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  width: 100%;
  margin: 0;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  background:
    radial-gradient(circle at 72% 8%, rgba(183, 0, 79, 0.12), transparent 30%),
    radial-gradient(circle at 20% 20%, rgba(156, 83, 205, 0.1), transparent 28%),
    #fcfaf7;
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

body:not(.visual-editor-ready) .editor-panel,
body:not(.visual-editor-ready) .preview-toolbar {
  display: none !important;
}

.published-invitation .editor-panel,
.published-invitation .preview-toolbar {
  display: none !important;
}

body[data-preview-card] {
  background: #f6f7f9;
}

body[data-preview-card] .invitation-light,
body[data-preview-card] .registry-modal,
body[data-preview-card] .rsvp-modal {
  display: none !important;
}

body.invitation-locked {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  padding: 0;
  font: inherit;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

button,
a {
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

button:active,
a:active {
  transform: scale(0.97);
}

img {
  display: block;
  max-width: 100%;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  font-size: 22px;
  line-height: 1;
}

.material-symbols-outlined.filled {
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
}

.invitation-light {
  width: 220px;
  height: 220px;
  position: fixed;
  left: 50%;
  z-index: 0;
  border-radius: 50%;
  filter: blur(34px);
  opacity: 0.42;
  pointer-events: none;
}

.invitation-light-one {
  top: 82px;
  transform: translateX(-20%);
  background: rgba(183, 0, 79, 0.2);
}

.invitation-light-two {
  bottom: 140px;
  transform: translateX(-92%);
  background: rgba(156, 83, 205, 0.16);
}

.app-shell {
  width: min(100%, var(--app-width));
  min-height: 100vh;
  position: relative;
  z-index: 1;
  background: var(--surface);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.05);
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition: opacity 650ms ease, transform 650ms ease;
}

.invitation-preloader {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 72% 8%, rgba(183, 0, 79, 0.14), transparent 28%),
    radial-gradient(circle at 20% 20%, rgba(156, 83, 205, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(248, 242, 235, 0.98));
  transition: opacity 420ms ease, visibility 420ms ease;
}

.invitation-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.invitation-preloader-card {
  width: min(100%, 260px);
  position: relative;
  display: grid;
  place-items: center;
  gap: 16px;
  padding: 38px 28px 30px;
  border: 1px solid rgba(143, 111, 86, 0.18);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 24px 60px rgba(80, 61, 48, 0.12);
  backdrop-filter: blur(16px);
}

.invitation-preloader-art {
  position: relative;
  z-index: 1;
  width: min(190px, 68vw);
  max-height: 126px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(80, 61, 48, 0.14));
}

.invitation-preloader-monogram {
  position: relative;
  z-index: 1;
  color: #6f4d3d;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(48px, 14vw, 82px);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-indent: 0.14em;
  text-transform: uppercase;
}

.invitation-preloader.has-art .invitation-preloader-monogram {
  display: none;
}

.invitation-preloader-ring {
  width: 118px;
  height: 118px;
  position: absolute;
  top: 34px;
  border-radius: 50%;
  border: 1px solid rgba(183, 0, 79, 0.12);
  border-top-color: rgba(183, 0, 79, 0.86);
  border-right-color: rgba(253, 123, 59, 0.64);
  animation: invitation-preloader-spin 1.25s linear infinite;
}

.invitation-preloader:not(.has-art) .invitation-preloader-ring {
  display: none;
}

.invitation-preloader-card p {
  margin: 0;
  color: #8f6f56;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

@keyframes invitation-preloader-spin {
  to {
    transform: rotate(360deg);
  }
}

.public-unavailable {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 24px 108px;
}

.public-unavailable-card {
  width: 100%;
  padding: 34px 28px;
  border: 1px solid rgba(143, 111, 86, 0.14);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 242, 235, 0.96));
  box-shadow: 0 28px 60px rgba(80, 61, 48, 0.08);
  text-align: center;
}

.public-unavailable-card p,
.public-unavailable-card h1,
.public-unavailable-card span {
  margin: 0;
}

.public-unavailable-card p {
  color: #8f6f56;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.public-unavailable-card h1 {
  margin-top: 14px;
  color: #3d312e;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 8vw, 40px);
  line-height: 1.04;
}

.public-unavailable-card span {
  display: block;
  margin-top: 14px;
  color: #6e6265;
  font-size: 15px;
  line-height: 1.6;
}

.mobile-entry-modal {
  display: none;
}

.mobile-entry-modal[hidden] {
  display: none !important;
}

.published-invitation .mobile-entry-modal.is-active,
.guest-entry-preview .mobile-entry-modal.is-active {
  width: min(100vw, var(--app-width));
  min-height: 100svh;
  position: fixed;
  inset: 0;
  left: 50%;
  z-index: 120;
  display: block;
  transform: translateX(-50%);
  background: transparent;
}

.mobile-entry-panel {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: transparent;
}

.mobile-entry-texture {
  position: absolute;
  inset: -7%;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.46)),
    var(--mobile-entry-layer-image, var(--cover-texture-image)),
    linear-gradient(135deg, #edf5f7, #fbfbfb 56%, #f5edf1);
  background-position: center;
  background-size: cover;
  transition:
    transform var(--mobile-entry-open-duration, 1600ms) cubic-bezier(0.18, 0.86, 0.18, 1),
    opacity 900ms ease,
    filter 900ms ease;
  will-change: transform;
}

.mobile-entry-texture-one {
  z-index: 1;
  --mobile-entry-layer-image: var(--mobile-entry-texture-one-image, var(--cover-texture-image));
  clip-path: polygon(0 0, 100% 0, 100% 40%, 0 70%);
}

.mobile-entry-texture-two {
  z-index: 0;
  --mobile-entry-layer-image: var(--mobile-entry-texture-two-image, var(--mobile-entry-texture-one-image, var(--cover-texture-image)));
  clip-path: polygon(0 62%, 100% 34%, 100% 100%, 0 100%);
  filter: saturate(0.98) brightness(1.03);
}

.mobile-entry-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.mobile-entry-panel::before {
  display: none;
}

.mobile-entry-modal.is-opening .mobile-entry-texture-one {
  transform: translate(-46%, -28%) rotate(-7deg);
  opacity: 1;
  filter: saturate(0.96);
}

.mobile-entry-modal.is-opening .mobile-entry-texture-two {
  transform: translate(46%, 30%) rotate(7deg);
  opacity: 1;
  filter: saturate(0.96);
}

.mobile-entry-modal.is-opening .mobile-entry-panel::before {
  opacity: 0;
  transition: opacity 240ms ease;
}

.mobile-entry-kicker,
.mobile-entry-guest,
.mobile-entry-hint {
  position: absolute;
  z-index: 4;
  margin: 0;
  color: #103f47;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-style: italic;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.mobile-entry-kicker {
  top: 19%;
  width: min(72%, 300px);
  font-size: 13px;
  line-height: 1.12;
}

.mobile-entry-guest {
  top: 28%;
  width: min(82%, 330px);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.mobile-entry-guest strong {
  display: block;
  margin-top: 5px;
  color: #2f2624;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(21px, 8vw, 34px);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.96;
  text-transform: none;
  overflow-wrap: anywhere;
}

.mobile-entry-hint {
  bottom: 26%;
  width: min(62%, 240px);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.mobile-entry-seal {
  width: 148px;
  height: 148px;
  position: relative;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.62), transparent 23%),
    radial-gradient(circle at 50% 56%, #8aa5b9, #526f86 68%, #344f63);
  box-shadow:
    0 24px 38px rgba(22, 31, 39, 0.28),
    inset 0 0 0 6px rgba(255, 255, 255, 0.16),
    inset 0 0 0 15px rgba(35, 58, 75, 0.18);
  color: rgba(245, 250, 252, 0.92);
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transform: translateY(42px);
  transition:
    transform var(--mobile-entry-open-duration, 1600ms) cubic-bezier(0.18, 0.86, 0.18, 1),
    opacity 680ms ease,
    filter 220ms ease;
}

.mobile-entry-seal:focus,
.mobile-entry-seal:focus-visible {
  outline: none;
}

.mobile-entry-seal:active {
  transform: translateY(42px) scale(0.96);
  filter: brightness(0.98);
}

.mobile-entry-modal.is-opening .mobile-entry-seal {
  transform: translateY(42px) scale(0.82);
  opacity: 0;
}

.mobile-entry-modal.is-opening .mobile-entry-kicker,
.mobile-entry-modal.is-opening .mobile-entry-guest,
.mobile-entry-modal.is-opening .mobile-entry-hint {
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 360ms ease,
    transform 360ms ease;
}

.mobile-entry-seal::before,
.mobile-entry-seal::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
}

.mobile-entry-seal::before {
  inset: 10%;
  border: 2px solid rgba(240, 248, 252, 0.56);
}

.mobile-entry-seal::after {
  inset: 19%;
  border: 2px solid rgba(25, 45, 60, 0.2);
}

.mobile-entry-seal img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.mobile-entry-seal.has-custom-art,
.mobile-entry-seal:has(img:not([hidden])) {
  background: transparent;
  box-shadow: none;
  color: transparent;
}

.mobile-entry-seal span {
  position: relative;
  z-index: 2;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 42px;
  line-height: 1;
  text-shadow: 0 2px 2px rgba(20, 34, 44, 0.28);
}

.mobile-entry-seal.has-custom-art::before,
.mobile-entry-seal.has-custom-art::after,
.mobile-entry-seal.has-custom-art span,
.mobile-entry-seal:has(img:not([hidden]))::before,
.mobile-entry-seal:has(img:not([hidden]))::after,
.mobile-entry-seal:has(img:not([hidden])) span {
  display: none;
}

.mobile-entry-media-source {
  display: none !important;
}

body.mobile-entry-modal-open {
  overflow: hidden;
}

html.mobile-entry-scroll-locked,
body.mobile-entry-modal-open {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

body.mobile-entry-modal-open {
  width: 100%;
  position: fixed;
  top: var(--mobile-entry-scroll-lock-top, 0);
  left: 0;
}

body.registry-modal-open {
  overflow: hidden;
}

html.registry-modal-scroll-locked,
body.registry-modal-open {
  overscroll-behavior: none;
}

body.registry-modal-window-scroll-open {
  width: 100%;
  position: fixed;
  top: var(--registry-modal-scroll-lock-top, 0);
  left: 0;
}

body[data-preview-card] .app-shell {
  width: 100%;
  min-height: auto;
  background: transparent;
  box-shadow: none;
}

body.invitation-open .app-shell {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

body.arriving-from-cover .app-shell {
  animation: invitation-arrive-from-cover 820ms cubic-bezier(0.16, 0.86, 0.22, 1) both;
}

.published-invitation.visual-editor-ready {
  width: 100%;
  max-width: 100dvw;
  display: block;
  overflow-x: hidden;
}

.published-invitation.visual-editor-ready .app-shell {
  width: min(100dvw, var(--app-width));
  max-width: 100dvw;
  margin-inline: auto;
  overflow-x: hidden;
}

.published-invitation.visual-editor-ready .top-bar,
.published-invitation.visual-editor-ready [data-public-content],
.published-invitation.visual-editor-ready .bottom-nav {
  width: min(100dvw, var(--app-width)) !important;
  max-width: 100dvw;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%);
  margin-inline: 0;
}

.published-invitation.visual-editor-ready [data-public-content],
.published-invitation.visual-editor-ready .feed,
.published-invitation.visual-editor-ready .feed > * {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

.published-invitation.visual-editor-ready .section-tabs {
  max-width: 100%;
  min-width: 0;
  overscroll-behavior-x: contain;
}

.entry-screen {
  width: min(100%, var(--app-width));
  min-height: 100vh;
  position: fixed;
  inset: 0;
  left: 50%;
  z-index: 50;
  display: flex;
  justify-content: center;
  transform: translateX(-50%);
  overflow: hidden;
  background-color: #fcfaf7;
  background-image:
    radial-gradient(circle at 70% 16%, rgba(183, 0, 79, 0.12), transparent 30%),
    radial-gradient(circle at 12px 12px, rgba(226, 214, 193, 0.42) 0 5px, transparent 6px);
  background-size: 100% 100%, 38px 38px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.05);
  transition: opacity 700ms ease, transform 700ms ease, visibility 700ms ease;
}

.entry-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.96), rgba(255, 250, 242, 0.72) 28%, rgba(248, 242, 235, 0.18) 58%, transparent 76%),
    linear-gradient(180deg, rgba(255, 253, 249, 0.12), rgba(255, 253, 249, 0.94));
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
}

.entry-screen.opening {
  pointer-events: none;
}

body.invitation-open .entry-screen {
  opacity: 0;
  transform: translateX(-50%) translateY(-18px) scale(1.025);
  visibility: hidden;
  pointer-events: none;
}

.envelope-card.entry-screen {
  width: 100%;
  max-width: 100%;
  min-height: clamp(760px, calc(100vh - 92px), 980px);
  position: relative;
  inset: auto;
  left: auto;
  z-index: 1;
  display: block;
  margin: 0;
  transform: none;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  background: transparent !important;
  background-image: none !important;
  margin-top: calc((var(--editor-margin-top, 0) * 1px) - 51px);
  margin-bottom: calc(var(--editor-margin-bottom, 0) * 1px);
}

.envelope-card.entry-screen::after {
  display: none;
}

.envelope-card.entry-screen .entry-content {
  width: 100%;
  max-width: 100%;
  min-height: inherit;
  position: relative;
  display: grid;
  justify-items: center;
  align-items: start;
  padding: 0;
  gap: 0;
  overflow: hidden;
}

.envelope-card.entry-screen .entry-copy {
  position: absolute;
  top: calc((var(--editor-padding-top, var(--editor-padding-y, 4)) * 1px) + 22px);
  left: 50%;
  z-index: 12;
  display: grid;
  justify-items: center;
  gap: 8px;
  width: calc(100% - (var(--editor-padding-x, 18) * 2px));
  margin: 0;
  padding: 0;
  text-align: center;
  transform: translateX(-50%);
  animation: none !important;
}

.envelope-card.entry-screen .entry-copy h2 {
  max-width: 100%;
  margin: 0;
  text-align: center;
}

.envelope-card.entry-screen .envelope-stage {
  width: calc(100% - (var(--editor-padding-x, 10) * 2px));
  max-width: none;
  aspect-ratio: 390 / 540;
  height: clamp(720px, calc(100vh - 160px), 920px);
  min-height: 720px;
  max-height: none;
  margin: 0 auto;
  justify-self: center;
  align-self: center;
}

.envelope-card.entry-screen .entry-footer {
  position: absolute;
  left: 50%;
  bottom: calc((var(--editor-padding-bottom, var(--editor-padding-y, 4)) * 1px) + 48px);
  z-index: 12;
  display: grid;
  justify-items: center;
  gap: 8px;
  width: calc(100% - (var(--editor-padding-x, 18) * 2px));
  margin: 0;
  padding: 0;
  text-align: center;
  transform: translateX(-50%);
  animation: none !important;
}

.envelope-card.entry-screen.revealing::after {
  animation: none;
  opacity: 0;
  transform: none;
}

.envelope-card.entry-screen.revealing .entry-content,
.envelope-card.entry-screen.revealing .envelope-stage {
  animation: none;
}

.envelope-card.entry-screen[data-editor-bg],
.envelope-card.entry-screen[data-editor-gradient],
.envelope-card.entry-screen[data-editor-texture],
.envelope-card.entry-screen[data-editor-bg-none] {
  background: transparent !important;
  background-image: none !important;
}

.envelope-card.entry-screen[data-editor-spacing] {
  width: 100% !important;
  max-width: 100% !important;
  top: 0 !important;
  left: auto !important;
  right: auto !important;
  padding: 0 !important;
  margin-top: calc((var(--editor-margin-top, 0) * 1px) - 51px) !important;
  margin-bottom: calc(var(--editor-margin-bottom, 0) * 1px) !important;
  align-self: stretch !important;
  justify-self: stretch !important;
  z-index: 1 !important;
}

body.invitation-open .envelope-card.entry-screen {
  opacity: 1;
  transform: none;
  visibility: visible;
  pointer-events: auto;
}

.entry-screen.revealing::after {
  animation: cover-cinematic-reveal 1080ms cubic-bezier(0.16, 0.86, 0.22, 1) both;
}

.entry-nav {
  width: min(100%, var(--app-width));
  height: 64px;
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.entry-nav strong {
  background: linear-gradient(90deg, #e1306c, #8138b2);
  background-clip: text;
  color: transparent;
  font-size: 20px;
  font-weight: 800;
}

.entry-nav div {
  display: flex;
  gap: 16px;
  color: #5a4045;
}

.entry-content {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 118px 24px 38px;
}

.entry-screen.revealing .entry-content {
  animation: cover-content-depart 940ms cubic-bezier(0.16, 0.86, 0.22, 1) both;
}

.entry-copy {
  text-align: center;
  animation: entry-rise 700ms ease both;
}

.entry-copy span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.entry-copy h2 {
  margin: 16px 0 0;
  color: #66575b;
  font-size: clamp(22px, 6vw, 28px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.25;
}

.envelope-stage {
  width: min(100%, 360px);
  aspect-ratio: 4 / 3;
  position: relative;
  align-self: center;
  display: grid;
  place-items: center;
  perspective: 1100px;
  animation: envelope-float 4.8s ease-in-out infinite;
}

.envelope {
  width: 100%;
  height: 100%;
  position: relative;
  filter: drop-shadow(0 24px 34px rgba(183, 0, 79, 0.16));
  transform-style: preserve-3d;
  transition: transform 700ms ease;
}

.envelope-back,
.envelope-left,
.envelope-right,
.envelope-bottom,
.envelope-flap {
  position: absolute;
  inset: 0;
  border-radius: 14px;
}

.envelope-back {
  background: #ffffff;
  border: 1px solid #e5e0da;
}

.envelope-left {
  background: linear-gradient(35deg, #fff 0 50%, transparent 50.3%);
  border-bottom-left-radius: 14px;
}

.envelope-right {
  background: linear-gradient(-35deg, #fff 0 50%, transparent 50.3%);
  border-bottom-right-radius: 14px;
}

.envelope-bottom {
  background: linear-gradient(to top, #ffffff 0 50%, transparent 50.4%);
  border-bottom: 1px solid #e6d9dc;
}

.envelope-flap {
  z-index: 4;
  clip-path: polygon(0 0, 100% 0, 50% 56%);
  transform-origin: top center;
  background: #f0f0f0;
  border: 1px solid #e4e4e4;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.05);
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0.1, 1), filter 600ms ease;
}

.letter-card {
  width: calc(100% - 42px);
  height: 78%;
  position: absolute;
  left: 21px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 1px dashed #ffb1c0;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #fff7fa);
  color: rgba(183, 0, 79, 0.25);
  transform: translateY(0);
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0.1, 1), opacity 600ms ease;
}

.letter-card .material-symbols-outlined {
  font-size: 58px;
}

.letter-card p {
  margin: 0;
  color: rgba(183, 0, 79, 0.42);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.wax-seal {
  width: 80px;
  height: 80px;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 6;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 4px solid #a30046;
  border-radius: 50%;
  background: linear-gradient(135deg, #b7004f, #90003d);
  box-shadow: 0 9px 18px rgba(144, 0, 61, 0.34), inset 0 2px 4px rgba(255, 255, 255, 0.18);
  transition: transform 520ms ease, opacity 380ms ease;
}

.wax-seal::before,
.wax-seal::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
}

.wax-seal::after {
  inset: 0;
  background: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.22), transparent 34%);
}

.wax-seal span {
  position: relative;
  z-index: 2;
  color: white;
  font-size: 24px;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.24);
}

.entry-screen.opening .envelope {
  transform: translateY(-10px) rotateX(5deg);
}

.entry-screen.opening .envelope-flap {
  transform: rotateX(178deg);
  filter: brightness(1.02);
}

.entry-screen.opening .letter-card {
  opacity: 1;
  transform: translateY(-120px);
}

.entry-screen.opening .wax-seal {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.35) rotate(28deg);
}

.sparkle {
  width: 10px;
  height: 10px;
  position: absolute;
  border-radius: 50%;
  background: rgba(183, 0, 79, 0.18);
  opacity: 0;
}

.sparkle-one {
  top: 8%;
  right: 12%;
}

.sparkle-two {
  top: 42%;
  left: -5%;
}

.sparkle-three {
  right: 3%;
  bottom: 8%;
}

.entry-screen.opening .sparkle {
  animation: sparkle-pop 850ms ease forwards;
}

.entry-screen.opening .sparkle-two {
  animation-delay: 120ms;
}

.entry-screen.opening .sparkle-three {
  animation-delay: 240ms;
}

.entry-footer {
  display: grid;
  gap: 24px;
  justify-items: center;
  animation: entry-rise 700ms ease 160ms both;
}

.open-invitation {
  width: min(100%, 360px);
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), #8e2de2);
  color: white;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(183, 0, 79, 0.26);
  transition: transform 240ms ease, box-shadow 240ms ease, opacity 240ms ease;
}

.open-invitation:active {
  transform: scale(0.97);
  box-shadow: 0 8px 18px rgba(183, 0, 79, 0.22);
}

.entry-screen.opening .open-invitation {
  opacity: 0.72;
  pointer-events: none;
}

.envelope-open-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  color: #103f47;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.envelope-open-hint .material-symbols-outlined {
  font-size: 16px;
}

.entry-screen.native-envelope {
  background: transparent;
  background-image: none;
}

.entry-screen.native-envelope .entry-copy h2 {
  max-width: 100%;
  margin: 0;
  color: #103f47;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: clamp(14px, 3.5vw, 20px);
  font-style: italic;
  font-weight: 700;
  line-height: 1.02;
  text-align: center;
  text-transform: uppercase;
}

.entry-screen.native-envelope .entry-copy {
  position: relative;
  z-index: 10;
  margin-bottom: 0;
}

.entry-screen.native-envelope .entry-content {
  padding: 0;
}

.entry-screen.native-envelope .guest-greeting {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 7px 14px;
  border: 1px solid rgba(16, 63, 71, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: #29525a;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 12px;
  font-style: italic;
  line-height: 1.1;
}

.entry-screen.native-envelope .guest-greeting strong {
  color: #103f47;
  font-size: 14px;
  font-weight: 700;
}

.entry-screen.native-envelope .envelope-stage {
  width: calc(100% - (var(--editor-padding-x, 10) * 2px));
  max-width: none;
  aspect-ratio: 390 / 540;
  height: clamp(720px, calc(100vh - 160px), 920px);
  min-height: 720px;
  max-height: none;
  justify-self: center;
  align-self: center;
  animation: none;
}

.entry-screen.native-envelope .envelope {
  width: 100%;
  height: 100%;
  margin-inline: auto;
  overflow: hidden;
  filter: none;
  transform: translateZ(0);
}

.entry-screen.native-envelope .cover-base-layer,
.entry-screen.native-envelope .cover-top-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.entry-screen.native-envelope .cover-base-layer {
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(210, 223, 228, 0.42), rgba(255, 255, 255, 0.12) 52%, rgba(255, 255, 255, 0.96) 52.2%),
    #fbfbfa;
  will-change: transform, filter;
  transition:
    transform 1320ms cubic-bezier(0.18, 0.86, 0.18, 1),
    opacity 720ms ease,
    filter 720ms ease;
}

.entry-screen.native-envelope .cover-base-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(142deg, transparent 0 55%, rgba(0, 0, 0, 0.14) 55.2%, transparent 58.4%),
    radial-gradient(circle at 78% 18%, rgba(110, 128, 142, 0.11), transparent 32%);
  opacity: 0.44;
}

.entry-screen.native-envelope .cover-top-layer {
  z-index: 5;
  clip-path: polygon(0 0, 100% 0, 100% 34%, 0 100%);
  transform-origin: 54% 42%;
  background:
    linear-gradient(135deg, rgba(240, 247, 248, 0.78), rgba(205, 221, 228, 0.86)),
    repeating-linear-gradient(32deg, rgba(255, 255, 255, 0.16) 0 2px, rgba(122, 149, 163, 0.08) 2px 4px);
  box-shadow: 0 18px 32px rgba(37, 43, 48, 0.2);
  will-change: transform, filter;
  transition:
    transform 1320ms cubic-bezier(0.18, 0.86, 0.18, 1),
    opacity 720ms ease,
    filter 720ms ease,
    box-shadow 720ms ease;
}

.entry-screen.native-envelope .cover-top-layer::before {
  content: "";
  position: absolute;
  left: -20%;
  top: 56%;
  width: 148%;
  height: 34px;
  background: linear-gradient(180deg, rgba(24, 35, 44, 0.22), transparent);
  filter: blur(6px);
  transform: rotate(-37deg);
  transform-origin: center;
  opacity: 0.46;
}

.entry-screen.native-envelope .cover-top-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 28% 22%, rgba(255, 255, 255, 0.52), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.44), transparent 62%);
  mix-blend-mode: screen;
}

.entry-screen.native-envelope .custom-cover-base,
.entry-screen.native-envelope .custom-cover-top {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.entry-screen.native-envelope .custom-cover-base {
  opacity: 0.92;
}

.entry-screen.native-envelope .custom-cover-top {
  filter: saturate(0.96) brightness(1.02);
}

.entry-screen.native-envelope .custom-envelope-art,
.entry-screen.native-envelope .custom-envelope-back,
.entry-screen.native-envelope .custom-envelope-body,
.entry-screen.native-envelope .custom-envelope-flap {
  position: absolute;
  pointer-events: none;
}

.entry-screen.native-envelope .custom-envelope-art {
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 420ms ease, transform 700ms ease;
}

.entry-screen.native-envelope .custom-envelope-back {
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(var(--envelope-back-scale));
  transform-origin: center center;
  transition: opacity 420ms ease, transform 700ms ease;
}

.entry-screen.native-envelope .custom-envelope-body {
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(var(--envelope-front-scale));
  transform-origin: center center;
  transition: opacity 420ms ease, transform 700ms ease;
}

.entry-screen.native-envelope .custom-envelope-flap {
  top: 0;
  left: 50%;
  z-index: 5;
  width: var(--envelope-flap-width);
  height: auto;
  transform: translateX(-50%) translateY(var(--envelope-flap-offset-y));
  transform-origin: 50% 0%;
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0.1, 1), opacity 380ms ease;
}

.entry-screen.native-envelope .envelope.has-custom-art .envelope-back,
.entry-screen.native-envelope .envelope.has-custom-art .envelope-left,
.entry-screen.native-envelope .envelope.has-custom-art .envelope-right,
.entry-screen.native-envelope .envelope.has-custom-art .envelope-bottom,
.entry-screen.native-envelope .envelope.has-custom-art .envelope-flap,
.entry-screen.native-envelope .envelope.has-custom-back .envelope-back,
.entry-screen.native-envelope .envelope.has-custom-body .envelope-back,
.entry-screen.native-envelope .envelope.has-custom-body .envelope-left,
.entry-screen.native-envelope .envelope.has-custom-body .envelope-right,
.entry-screen.native-envelope .envelope.has-custom-body .envelope-bottom,
.entry-screen.native-envelope .envelope.has-custom-flap .envelope-flap {
  opacity: 0;
}

.entry-screen.native-envelope .envelope.has-custom-back .custom-envelope-art,
.entry-screen.native-envelope .envelope.has-custom-body .custom-envelope-art,
.entry-screen.native-envelope .envelope.has-custom-flap .custom-envelope-art {
  opacity: 0;
}

.entry-screen.native-envelope .custom-seal-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(22, 31, 39, 0.24));
}

.entry-screen.native-envelope .wax-seal {
  width: clamp(132px, 34vw, 176px);
  height: clamp(132px, 34vw, 176px);
  top: 57%;
  left: 48%;
  z-index: 8;
  cursor: pointer;
  border: 0;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.56), transparent 23%),
    radial-gradient(circle at 50% 55%, #7d9ab0, #4b6a82 66%, #344f63);
  box-shadow:
    0 18px 30px rgba(22, 31, 39, 0.24),
    inset 0 0 0 5px rgba(255, 255, 255, 0.16),
    inset 0 0 0 12px rgba(35, 58, 75, 0.18);
  transition:
    transform 1320ms cubic-bezier(0.18, 0.86, 0.18, 1),
    opacity 720ms ease,
    filter 720ms ease;
}

.entry-screen.native-envelope .wax-seal:focus-visible {
  outline: 3px solid rgba(16, 63, 71, 0.28);
  outline-offset: 6px;
}

.entry-screen.native-envelope .wax-seal.is-disabled {
  pointer-events: none;
}

.entry-screen.native-envelope .wax-seal::before,
.entry-screen.native-envelope .wax-seal::after {
  content: "";
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  border: 2px solid rgba(240, 248, 252, 0.52);
}

.entry-screen.native-envelope .wax-seal::after {
  inset: 17%;
  border-color: rgba(25, 45, 60, 0.22);
  background: none;
}

.entry-screen.native-envelope .wax-seal span {
  z-index: 2;
  color: rgba(245, 250, 252, 0.92);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 8vw, 42px);
  letter-spacing: -0.03em;
  text-shadow: 0 2px 2px rgba(20, 34, 44, 0.28);
}

.entry-screen.native-envelope .wax-seal.has-custom-art::before,
.entry-screen.native-envelope .wax-seal.has-custom-art::after {
  display: none;
}

.entry-screen.native-envelope .letter-card {
  width: min(68%, 270px);
  height: auto;
  min-height: 136px;
  left: 50%;
  bottom: 22%;
  z-index: 3;
  opacity: 0;
  transform: translate(-50%, 20px) scale(0.96);
  border-color: rgba(74, 91, 105, 0.12);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 46px rgba(31, 39, 46, 0.08);
  backdrop-filter: blur(12px);
  display: none;
}

.entry-screen.native-envelope .letter-card::before,
.entry-screen.native-envelope .letter-card::after {
  display: none;
}

.entry-screen.native-envelope .letter-card p,
.entry-screen.native-envelope .letter-card small strong {
  color: rgba(38, 62, 78, 0.88);
}

.entry-screen.native-envelope .open-invitation {
  display: none !important;
}

.entry-screen.native-envelope .rsvp-date {
  width: 100%;
  justify-content: center;
  color: #1b4a52;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 11px;
  font-style: italic;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.entry-screen.native-envelope .entry-footer {
  position: relative;
  z-index: 10;
  margin-top: 0;
}

.entry-screen.native-envelope[data-cover-base-motion="drift"] .custom-cover-base,
.entry-screen.native-envelope[data-cover-base-motion="zoom"] .custom-cover-base,
.entry-screen.native-envelope[data-cover-top-motion="parallax"] .custom-cover-top,
.entry-screen.native-envelope[data-cover-top-motion="sweep"] .custom-cover-top {
  animation: none;
}

.entry-screen.native-envelope.opening .custom-envelope-art {
  opacity: 0.18;
  transform: translateY(-8px);
}

.entry-screen.native-envelope.opening .custom-envelope-body {
  z-index: 6;
  transform: translateY(var(--envelope-front-open-y)) scale(var(--envelope-front-scale));
}

.entry-screen.native-envelope.opening .custom-envelope-back {
  z-index: 3;
  transform: scale(var(--envelope-back-scale));
}

.entry-screen.native-envelope.opening .envelope-left,
.entry-screen.native-envelope.opening .envelope-right,
.entry-screen.native-envelope.opening .envelope-bottom,
.entry-screen.native-envelope.opening .envelope-back {
  z-index: 6;
}

.entry-screen.native-envelope.opening .envelope-flap {
  z-index: 1;
  transform: rotateX(178deg);
}

.entry-screen.native-envelope.opening .custom-envelope-flap {
  z-index: 1;
  opacity: 0.98;
  transform: translateX(-50%) translateY(var(--envelope-flap-offset-y)) rotateX(178deg);
}

.entry-screen.native-envelope.opening .cover-top-layer {
  opacity: 0.94;
  filter: brightness(1.02) drop-shadow(0 34px 34px rgba(20, 29, 37, 0.18));
  box-shadow: 0 34px 58px rgba(23, 35, 45, 0.2);
  transform: translate3d(-28%, -34%, 88px) rotateZ(-10deg) rotateX(13deg) scale(1.04);
}

.entry-screen.native-envelope.opening .cover-base-layer {
  filter: brightness(1.01);
  transform: translate3d(14%, 18%, 0) scale(1.05);
}

.entry-screen.native-envelope[data-envelope-animation="dramatic"].opening .cover-top-layer {
  transform: translate3d(-34%, -42%, 104px) rotateZ(-13deg) rotateX(16deg) scale(1.06);
}

.entry-screen.native-envelope[data-envelope-animation="dramatic"].opening .cover-base-layer {
  transform: translate3d(18%, 22%, 0) scale(1.07);
}

.entry-screen.native-envelope[data-envelope-animation="float"].opening .cover-top-layer {
  transform: translate3d(-18%, -24%, 60px) rotateZ(-6deg) rotateX(10deg) scale(1.02);
}

.entry-screen.native-envelope[data-envelope-animation="float"].opening .cover-base-layer {
  transform: translate3d(10%, 12%, 0) scale(1.03);
}

.entry-screen.native-envelope.opening .letter-card {
  opacity: 0;
  transform: translate(-50%, 20px) scale(0.96);
  transition-delay: 0ms;
}

.entry-screen.native-envelope[data-envelope-animation="dramatic"].opening .letter-card {
  opacity: 0;
  transform: translate(-50%, 20px) scale(0.96);
}

.entry-screen.native-envelope[data-envelope-animation="float"].opening .letter-card {
  opacity: 0;
  transform: translate(-50%, 20px) scale(0.96);
}

.entry-screen.native-envelope.opening .wax-seal {
  opacity: 0.98;
  filter: drop-shadow(0 22px 22px rgba(22, 31, 39, 0.22));
  transform: translate(calc(-50% - 94px), calc(-50% - 126px)) scale(0.96) rotate(-10deg);
}

.entry-screen.native-envelope[data-envelope-animation="dramatic"].opening .wax-seal {
  transform: translate(calc(-50% - 112px), calc(-50% - 146px)) scale(0.92) rotate(-13deg);
}

.entry-screen.native-envelope[data-envelope-animation="float"].opening .wax-seal {
  transform: translate(calc(-50% - 72px), calc(-50% - 102px)) scale(0.98) rotate(-8deg);
}

.entry-screen.native-envelope.revealing .envelope-stage {
  animation: cover-paper-reveal-depart 980ms cubic-bezier(0.16, 0.86, 0.22, 1) both;
}

.entry-screen.native-envelope.revealing .cover-top-layer {
  opacity: 0.18;
  filter: blur(2px);
  transform: translate3d(-40%, -48%, 94px) rotateZ(-14deg) rotateX(17deg) scale(1.08);
}

.entry-screen.native-envelope.revealing .cover-base-layer {
  opacity: 0.86;
  filter: blur(1px);
  transform: translate3d(20%, 24%, 0) scale(1.08);
}

.entry-screen.native-envelope.revealing .wax-seal {
  opacity: 0;
  filter: blur(2px);
  transform: translate(calc(-50% - 128px), calc(-50% - 170px)) scale(0.88) rotate(-15deg);
}

.rsvp-date {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #8e6f74;
}

.rsvp-date i {
  width: 54px;
  height: 1px;
  background: #e2bec3;
}

.rsvp-date span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.entry-dots {
  display: flex;
  gap: 7px;
}

.entry-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e2e2e2;
}

.entry-dots .active {
  background: var(--primary);
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes envelope-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes sparkle-pop {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }

  45% {
    opacity: 1;
    transform: scale(1.35);
  }

  100% {
    opacity: 0;
    transform: scale(2.3);
  }
}

@keyframes invitation-sheen {
  0% {
    opacity: 0;
    transform: translateX(-85%);
  }

  35% {
    opacity: 0.7;
  }

  100% {
    opacity: 0;
    transform: translateX(85%);
  }
}

@keyframes cover-cinematic-reveal {
  0% {
    opacity: 0;
    transform: scale(0.92);
    filter: blur(10px);
  }

  42% {
    opacity: 0.72;
    transform: scale(1.02);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: scale(1.18);
    filter: blur(0);
  }
}

@keyframes cover-content-depart {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }

  100% {
    opacity: 0;
    transform: scale(1.035) translateY(-14px);
    filter: blur(8px);
  }
}

@keyframes cover-paper-reveal-depart {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0.74;
    transform: scale(1.015);
  }
}

@keyframes cover-base-drift {
  0% {
    transform: translate3d(-2%, 0, 0) scale(1.02);
  }

  100% {
    transform: translate3d(2%, -1.5%, 0) scale(1.06);
  }
}

@keyframes cover-base-zoom {
  0% {
    transform: scale(1.02);
    filter: saturate(0.96);
  }

  100% {
    transform: scale(1.11);
    filter: saturate(1.04);
  }
}

@keyframes cover-top-parallax {
  0% {
    transform: translate3d(-1.4%, 0, 0) rotate(0deg) scale(1.01);
  }

  100% {
    transform: translate3d(1.2%, -2.2%, 0) rotate(-1.4deg) scale(1.05);
  }
}

@keyframes cover-top-sweep {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1.01);
    filter: saturate(0.94) brightness(1.02);
  }

  100% {
    transform: translate3d(-2.6%, -3.2%, 0) rotate(-2.8deg) scale(1.08);
    filter: saturate(1) brightness(1.06);
  }
}

@keyframes invitation-spark-pop {
  from {
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(0.4);
  }

  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(4);
  }
}

@keyframes divider-shell-loop {
  0% {
    opacity: 0;
    transform: translate3d(0, 16px, 0) scaleX(0.88);
  }

  60% {
    opacity: 0.92;
    transform: translate3d(0, -2px, 0) scaleX(1.02);
  }

  100% {
    opacity: 0.92;
    transform: translate3d(0, 0, 0) scaleX(1);
  }
}

@keyframes divider-ornament-loop {
  0% {
    opacity: 0;
    transform: translate3d(0, 12px, 0) scale(0.76);
    filter: blur(4px);
  }

  55% {
    opacity: 1;
    transform: translate3d(0, -1px, 0) scale(1.03);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes gallery-card-bloom {
  0% {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(0.965);
    filter: blur(8px);
  }

  58% {
    opacity: 1;
    transform: translate3d(0, -3px, 0) scale(1.008);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes gallery-orbital-sheen {
  0% {
    opacity: 0;
    transform: translateX(-56%) rotate(12deg);
  }

  28% {
    opacity: 0.86;
  }

  100% {
    opacity: 0;
    transform: translateX(56%) rotate(12deg);
  }
}

@keyframes gallery-photo-breathe {
  0%,
  100% {
    transform: scale(1.018);
  }

  50% {
    transform: scale(1.055);
  }
}

@keyframes itinerary-line-draw {
  from {
    transform: translateX(-50%) scaleY(0);
  }

  to {
    transform: translateX(-50%) scaleY(1);
  }
}

@keyframes itinerary-item-rise {
  from {
    opacity: 0;
    transform: translate3d(18px, 14px, 0) scale(0.985);
    filter: blur(5px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes itinerary-dot-glow {
  0%,
  100% {
    box-shadow: 0 0 0 5px rgba(212, 187, 148, 0.12), 0 0 0 rgba(143, 111, 86, 0);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(212, 187, 148, 0.18), 0 0 24px rgba(143, 111, 86, 0.24);
  }
}

@keyframes date-card-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0) scale(0.97);
    filter: blur(7px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes date-piece-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
    filter: blur(4px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes date-day-focus {
  0% {
    opacity: 0;
    transform: translate3d(0, 16px, 0) scale(0.82);
    filter: blur(5px);
    letter-spacing: 0.16em;
  }

  66% {
    opacity: 1;
    transform: translate3d(0, -2px, 0) scale(1.06);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
    letter-spacing: 0.04em;
  }
}

@keyframes date-divider-draw {
  from {
    opacity: 0;
    transform: scaleY(0);
  }

  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes date-sheen-pass {
  0% {
    opacity: 0;
    transform: translateX(-72%) rotate(10deg);
  }

  35% {
    opacity: 0.82;
  }

  100% {
    opacity: 0;
    transform: translateX(72%) rotate(10deg);
  }
}

@keyframes hero-photo-reveal {
  0% {
    opacity: 0;
    transform: scale(1.1);
    filter: blur(10px) saturate(0.86) brightness(0.86);
  }

  58% {
    opacity: 1;
    filter: blur(0) saturate(1.04) brightness(1);
  }

  100% {
    opacity: 1;
    transform: scale(1.035);
    filter: blur(0) saturate(1.04) brightness(1);
  }
}

@keyframes hero-overlay-settle {
  from {
    opacity: 0.2;
  }

  to {
    opacity: 1;
  }
}

@keyframes hero-copy-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    filter: blur(5px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes hero-title-sheen {
  0% {
    background-position: 180% 50%;
  }

  100% {
    background-position: -40% 50%;
  }
}

@keyframes hero-rule-draw {
  from {
    opacity: 0;
    transform: scaleX(0);
  }

  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes hero-light-pass {
  0% {
    opacity: 0;
    transform: translateX(-72%) rotate(10deg);
  }

  30% {
    opacity: 0.56;
  }

  100% {
    opacity: 0;
    transform: translateX(78%) rotate(10deg);
  }
}

@keyframes hero-placeholder-shimmer {
  0% {
    background-position: 200% 0, 0 0;
  }

  100% {
    background-position: -40% 0, 0 0;
  }
}

@keyframes invitation-arrive-from-cover {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(1.035);
    filter: blur(10px);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

.top-bar {
  width: min(100%, var(--app-width));
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
}

.top-bar {
  top: 0;
  padding: 9px 16px 7px;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(18px);
  box-shadow: 0 6px 20px rgba(183, 0, 79, 0.04);
}

.brand-row {
  min-height: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}

.brand-row h1 {
  margin: 0;
  color: rgba(104, 72, 82, 0.76);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.section-tabs {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.section-tabs::-webkit-scrollbar {
  display: none;
}

.section-tabs a {
  flex: 0 0 auto;
  color: var(--top-nav-text-color, #6f6f6f);
  padding-bottom: 4px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.section-tabs a.active {
  color: var(--top-nav-active-color, #e0005a);
  border-bottom: 2px solid var(--top-nav-active-color, #e0005a);
}

#story,
#ceremony,
#venue,
#torna-fiesta,
#registry {
  scroll-margin-top: 92px;
}

main {
  padding: 51px 0 210px;
}

.feed {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section-divider {
  width: min(100% - 72px, var(--divider-ornament-width));
  aspect-ratio: var(--divider-ornament-ratio);
  align-self: center;
  position: relative;
  margin: -8px 0 -4px;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 14px, 0) scaleX(0.9);
  transform-origin: center;
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.7, 0.1, 1);
}

html[data-divider-ready="on"] .section-divider {
  visibility: visible;
}

.section-divider::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translate3d(0, 10px, 0) scaleX(0.78);
  transform-origin: center;
  transition: opacity 620ms ease, transform 720ms cubic-bezier(0.2, 0.7, 0.1, 1);
  background: none;
}

html[data-divider-ornament="on"] .section-divider::before {
  background: var(--divider-ornament-image) center center / contain no-repeat;
}

.section-divider.is-visible {
  opacity: 0;
  transform: translate3d(0, 0, 0) scaleX(1);
}

.section-divider.is-visible::before {
  opacity: 0;
  transform: translate3d(0, 0, 0) scaleX(1);
}

html[data-divider-ornament="on"] .section-divider.is-visible {
  opacity: 0.92;
}

html[data-divider-ornament="on"] .section-divider.is-visible::before {
  opacity: 1;
}

.section-divider.is-looping {
  animation: divider-shell-loop 820ms cubic-bezier(0.2, 0.7, 0.1, 1) both;
}

.section-divider.is-looping::before {
  animation: divider-ornament-loop 920ms cubic-bezier(0.2, 0.7, 0.1, 1) both;
}

body[data-preview-card] .feed {
  display: block;
  padding: 18px 0;
}

body[data-preview-card] .feed > [data-demo-section] {
  margin: 0 auto;
  max-width: 480px;
}

.hero-post {
  min-height: 500px;
  height: clamp(500px, 154.2vw, 740px);
  max-height: 740px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.18), transparent 26%),
    linear-gradient(135deg, #6a4f45 0%, #ae8368 52%, #e3c5af 100%);
  isolation: isolate;
}

.hero-post::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.16) 42%, transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.08));
  background-size: 240% 100%, 100% 100%;
  animation: hero-placeholder-shimmer 2.3s ease-in-out infinite;
  transition: opacity 360ms ease;
}

.hero-post > img[data-demo-cover] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  filter: saturate(0.92) brightness(0.92);
  transition: opacity 520ms ease, transform 1100ms ease, filter 1100ms ease;
}

.hero-post.is-ready::before {
  opacity: 0;
}

.hero-post.is-ready > img[data-demo-cover] {
  opacity: 1;
  transform: scale(1.035);
  filter: saturate(1.04) brightness(1);
}

.hero-post.is-ready.is-visible > img[data-demo-cover] {
  animation: hero-photo-reveal 1400ms cubic-bezier(0.16, 0.86, 0.22, 1);
}

.scroll-depth > img[data-demo-cover],
.scroll-depth video {
  transform: translateY(calc(var(--scroll-shift, 0) * 1px)) scale(1.045);
  transition: transform 180ms linear;
  will-change: transform;
}

.cover-text-png {
  position: absolute;
  left: calc(50% + var(--cover-text-png-x, 0px));
  top: calc(50% + var(--cover-text-png-y, 0px));
  z-index: var(--cover-text-png-z, 3);
  width: min(var(--cover-text-png-scale, 72%), 92%);
  max-width: none;
  height: auto;
  object-fit: contain;
  opacity: var(--cover-text-png-opacity, 1);
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(var(--cover-text-png-rotate, 0deg));
  transform-origin: center center;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.22));
}

.visual-editor-ready .hero-post .cover-text-png:not([hidden]) {
  cursor: move;
  pointer-events: auto;
  touch-action: none;
}

.cover-text-png-direct-frame {
  position: absolute;
  z-index: 30;
  box-sizing: border-box;
  border: 2px dashed rgba(0, 166, 166, 0.92);
  border-radius: 8px;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(var(--cover-text-png-direct-rotate, 0deg));
  transform-origin: center center;
  filter: drop-shadow(0 9px 20px rgba(24, 20, 18, 0.18));
}

.cover-text-png-direct-frame[hidden] {
  display: none !important;
}

.cover-text-png-direct-frame::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 12px;
  background: rgba(0, 166, 166, 0.06);
}

.cover-text-png-direct-handle {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #00a6a6;
  color: #fff;
  box-shadow: 0 10px 24px rgba(28, 18, 14, 0.22);
  pointer-events: auto;
  cursor: pointer;
  touch-action: none;
}

.cover-text-png-direct-handle .material-symbols-outlined {
  color: inherit !important;
  font-size: 18px;
  line-height: 1;
}

.cover-text-png-direct-handle-rotate {
  left: 50%;
  top: -52px;
  transform: translateX(-50%);
  cursor: grab;
}

.cover-text-png-direct-handle-rotate::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 30px;
  width: 2px;
  height: 22px;
  background: rgba(0, 166, 166, 0.84);
  transform: translateX(-50%);
}

.cover-text-png-direct-handle-scale {
  right: -18px;
  bottom: -18px;
  cursor: nwse-resize;
}

.cover-text-png-direct-handle-delete {
  top: -18px;
  right: -18px;
  background: #b7004f;
}

.cover-text-png-direct-handle-delete .material-symbols-outlined {
  font-size: 20px;
}

.cover-text-png-direct-handle-duplicate {
  top: -18px;
  left: -18px;
  background: #51433e;
}

.cover-text-png-direct-handle-replace {
  left: -18px;
  bottom: -18px;
  background: #0e5261;
}

.hero-post.is-cover-text-png-direct-active .cover-text-png-direct-frame {
  border-style: solid;
  border-color: #b7004f;
}

.hero-post.is-cover-text-png-direct-active .cover-text-png-direct-handle:not(.cover-text-png-direct-handle-delete):not(.cover-text-png-direct-handle-duplicate):not(.cover-text-png-direct-handle-replace) {
  background: #b7004f;
}

body.is-cover-text-png-direct-dragging,
body.is-cover-text-png-direct-dragging * {
  user-select: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 232, 200, 0.18), transparent 34%),
    linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.04));
}

.hero-overlay::before,
.hero-overlay::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-overlay::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 24% 76%, rgba(0, 0, 0, 0.18)),
    radial-gradient(circle at 24% 72%, rgba(214, 180, 124, 0.16), transparent 32%);
  opacity: 0.86;
}

.hero-overlay::after {
  width: 46%;
  top: -12%;
  bottom: -12%;
  left: -58%;
  background: linear-gradient(100deg, transparent 0 18%, rgba(255, 255, 255, 0.34), transparent 78% 100%);
  opacity: 0;
}

.hero-copy {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  color: white;
  width: 100%;
  max-width: none;
  min-height: 0;
  z-index: 2;
  text-align: var(--cover-text-align, left);
  overflow: visible;
}

.hero-copy::before {
  content: "";
  position: absolute;
  width: 72px;
  height: 1px;
  left: var(--cover-title-offset-x, 0px);
  top: calc(var(--cover-title-offset-y, 18px) - 18px);
  background: linear-gradient(90deg, rgba(255, 247, 232, 0.94), rgba(214, 180, 124, 0.34), transparent);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: var(--cover-text-line-origin, left);
}

.hero-copy .motion-child,
.ceremony-info .motion-child,
.party-info .motion-child,
.registry-info .motion-child,
.countdown-card .motion-child,
.itinerary-card .motion-child,
.spotify-card .motion-child,
.dress-code-card .motion-child,
.adults-card .motion-child,
.rsvp-card .motion-child {
  opacity: 0;
  transform: translateY(10px);
}

.is-visible .motion-child,
.hero-post.is-visible .motion-child {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.7, 0.1, 1);
}

.is-visible .motion-child:nth-child(2),
.hero-post.is-visible .motion-child:nth-child(2) {
  transition-delay: 80ms;
}

.is-visible .motion-child:nth-child(3),
.hero-post.is-visible .motion-child:nth-child(3) {
  transition-delay: 150ms;
}

.is-visible .motion-child:nth-child(4),
.hero-post.is-visible .motion-child:nth-child(4) {
  transition-delay: 220ms;
}

.hero-copy p {
  position: absolute;
  left: var(--cover-title-offset-x, 0px);
  top: var(--cover-title-offset-y, 18px);
  z-index: 2;
  display: block;
  margin: 0;
  inline-size: fit-content;
  max-inline-size: none;
  min-width: 0;
  color: rgba(255, 242, 230, 0.94);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.hero-copy h2 {
  position: absolute;
  left: var(--cover-names-offset-x, 0px);
  top: calc(58px + var(--cover-names-offset-y, 0px));
  width: var(--cover-text-width, 340px);
  max-width: none;
  min-width: 0;
  margin: 0;
  background:
    linear-gradient(105deg, #ffffff 0 34%, #f8dfba 48%, #ffffff 62% 100%);
  background-size: 220% 100%;
  background-clip: text;
  color: transparent;
  font-family: "Playfair Display", Georgia, serif;
  font-size: var(--cover-names-size, clamp(46px, 12vw, 64px));
  font-style: italic;
  font-weight: 600;
  line-height: var(--cover-names-line-height, 0.92);
  letter-spacing: 0.01em;
  text-wrap: balance;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  contain: layout paint;
  overflow-wrap: anywhere;
}

.hero-copy h2 .cover-name-line {
  display: block;
  width: 100%;
  max-width: 100%;
}

.hero-copy h2 .cover-name-line-first {
  display: block;
  width: 100%;
  max-width: 100%;
  font-size: var(--cover-names-first-size, 42px);
  line-height: 0.9;
  position: relative;
  left: var(--cover-names-first-offset-x, 0px);
  top: var(--cover-names-first-offset-y, 0px);
}

.hero-message {
  position: absolute;
  display: block;
  left: var(--cover-message-offset-x, 0px);
  top: calc(214px + var(--cover-message-offset-y, 0px));
  width: auto;
  inline-size: var(--cover-message-width, 300px);
  max-inline-size: none;
  min-width: 0;
  margin: 0;
  color: rgba(255, 248, 240, 0.9);
  font-size: var(--cover-message-size, 16px);
  line-height: 1.65;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  overflow-wrap: anywhere;
  contain: layout paint;
}

.event-date-card {
  margin: -12px 18px 0;
  padding: 28px 18px 26px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(143, 111, 86, 0.14);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.9), transparent 28%),
    radial-gradient(circle at 50% 0%, rgba(214, 180, 124, 0.18), transparent 42%),
    linear-gradient(180deg, #fffdf9, #f8f2eb);
  box-shadow: 0 22px 44px rgba(80, 52, 36, 0.1);
  text-align: center;
}

.event-date-card::before,
.event-date-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.event-date-card::before {
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent 0, rgba(143, 111, 86, 0.16) 18%, transparent 32% 68%, rgba(143, 111, 86, 0.12) 82%, transparent 100%) center 50% / 100% 1px no-repeat,
    radial-gradient(circle at 50% 50%, rgba(255, 253, 249, 0.96) 0 18px, transparent 19px);
  opacity: 0.58;
}

.event-date-card::after {
  width: 44%;
  left: -52%;
  right: auto;
  background: linear-gradient(100deg, transparent 0 16%, rgba(255, 255, 255, 0.5), transparent 78% 100%);
  opacity: 0;
}

.event-date-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(74px, 0.82fr) 1px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.event-date-weekday,
.event-date-time,
.event-date-center span {
  color: #2f2a29;
  font-size: clamp(10px, 2.7vw, 12px);
  font-weight: 500;
  letter-spacing: 0.28em;
  line-height: 1.4;
  text-transform: uppercase;
}

.event-date-time {
  letter-spacing: 0.2em;
}

.event-date-divider {
  width: 1px;
  min-height: 72px;
  background: linear-gradient(180deg, transparent, rgba(47, 42, 41, 0.68), transparent);
  transform-origin: center;
}

.event-date-center {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.event-date-center strong {
  color: #111;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(48px, 14vw, 66px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 0.9;
}

.event-date-weekday,
.event-date-time,
.event-date-center span,
.event-date-center strong,
.event-date-divider {
  opacity: 0;
}

.event-date-card.is-visible {
  animation: date-card-rise 780ms cubic-bezier(0.16, 0.86, 0.22, 1) both;
}

.event-date-card.is-visible::after {
  animation: date-sheen-pass 980ms ease 520ms both;
}

.event-date-card.is-visible .event-date-weekday {
  animation: date-piece-rise 640ms ease 180ms both;
}

.event-date-card.is-visible .event-date-divider {
  animation: date-divider-draw 620ms cubic-bezier(0.16, 0.86, 0.22, 1) 260ms both;
}

.event-date-card.is-visible .event-date-center span:first-child {
  animation: date-piece-rise 620ms ease 340ms both;
}

.event-date-card.is-visible .event-date-center strong {
  animation: date-day-focus 780ms cubic-bezier(0.16, 0.86, 0.22, 1) 430ms both;
}

.event-date-card.is-visible .event-date-center span:last-child {
  animation: date-piece-rise 620ms ease 600ms both;
}

.event-date-card.is-visible .event-date-time {
  animation: date-piece-rise 640ms ease 720ms both;
}

.hero-post.is-visible .hero-overlay {
  animation: hero-overlay-settle 1200ms ease both;
}

.hero-post.is-visible .hero-overlay::after {
  animation: hero-light-pass 1200ms ease 520ms both;
}

.hero-post.is-visible .hero-copy::before {
  animation: hero-rule-draw 720ms cubic-bezier(0.16, 0.86, 0.22, 1) 220ms both;
}

.hero-post.is-visible .hero-copy .motion-child {
  animation: hero-copy-rise 760ms cubic-bezier(0.16, 0.86, 0.22, 1) both;
}

.hero-post.is-visible .hero-copy .motion-child:nth-child(2) {
  animation-delay: 160ms;
}

.hero-post.is-visible .hero-copy .motion-child:nth-child(3) {
  animation-delay: 300ms;
}

.hero-post.is-visible .hero-copy .motion-child:nth-child(4) {
  animation-delay: 460ms;
}

.hero-post.is-visible .hero-copy h2.motion-child {
  animation: hero-copy-rise 820ms cubic-bezier(0.16, 0.86, 0.22, 1) 300ms both, hero-title-sheen 2200ms ease 980ms both;
}

.countdown-card {
  margin: -10px 18px 0;
  padding: 22px 18px 20px;
  display: grid;
  justify-items: center;
  row-gap: 6px;
  border: 1px solid rgba(183, 0, 79, 0.08);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #fff5f8);
  box-shadow: 0 16px 34px rgba(183, 0, 79, 0.09);
}

.countdown-card,
.event-date-card,
.itinerary-card,
.blessing-card,
.video-message-card,
.spotify-card,
.couple-slider-card,
.ceremony-card,
.party-card,
.dress-code-card,
.adults-card,
.rsvp-card,
.registry-card {
  position: relative;
}

.premium-card {
  overflow: hidden;
}

.countdown-card.shape-arch-card,
.blessing-card.shape-arch-card,
.registry-card.shape-arch-card {
  border-radius: 34px 34px 20px 20px / 68px 68px 20px 20px;
}

.blessing-card {
  margin: 12px 18px 0;
  padding: 22px 20px 20px;
  border: 1px solid rgba(120, 88, 68, 0.13);
  background:
    radial-gradient(circle at top center, rgba(214, 180, 124, 0.12), transparent 34%),
    linear-gradient(180deg, #fffdf9, #f9f4ee);
  box-shadow: 0 18px 34px rgba(80, 52, 36, 0.08);
  text-align: center;
}

.blessing-overline {
  margin: 0 0 14px;
  color: #826a57;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.5;
}

.blessing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
}

.blessing-grid.is-single-column {
  grid-template-columns: minmax(0, 1fr);
}

.blessing-divider {
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(123, 92, 70, 0.22), transparent);
}

.blessing-column {
  display: grid;
  align-content: start;
  gap: 3px;
}

.blessing-column.is-single-name {
  align-content: center;
  gap: 6px;
}

.blessing-column.is-empty {
  display: none;
}

.blessing-column strong {
  margin-bottom: 6px;
  color: #8f7660;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.blessing-column span {
  color: #3c3130;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.18;
}

.itinerary-card {
  margin: 0 18px;
  padding: 24px 18px 18px;
  overflow: hidden;
  border: 1px solid rgba(120, 88, 68, 0.13);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.92), transparent 28%),
    radial-gradient(circle at top center, rgba(214, 180, 124, 0.18), transparent 38%),
    linear-gradient(180deg, #fffdf9, #f7efe5);
  box-shadow: 0 24px 46px rgba(80, 52, 36, 0.11);
}

.itinerary-header {
  position: relative;
  z-index: 2;
  margin-bottom: 20px;
  text-align: center;
}

.itinerary-header h3 {
  margin: 3px 0 6px;
  color: #3c3130;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(22px, 5.8vw, 27px);
  font-weight: 600;
  line-height: 1.16;
}

.itinerary-note {
  margin: 0 auto;
  max-width: 286px;
  color: #8a7769;
  font-size: 12px;
  line-height: 1.5;
}

.itinerary-list {
  --itinerary-axis: 24px;
  --itinerary-dot-size: 14px;
  --itinerary-item-offset: 34px;
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding-left: var(--itinerary-item-offset);
}

.itinerary-list::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: var(--itinerary-axis);
  width: 1px;
  transform: translateX(-50%) scaleY(0);
  background: linear-gradient(180deg, transparent, rgba(143, 111, 86, 0.54) 14%, rgba(212, 187, 148, 0.76) 50%, rgba(143, 111, 86, 0.34) 86%, transparent);
  transform-origin: top;
}

.itinerary-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  position: relative;
  min-height: 74px;
  padding: 12px 12px 12px 22px;
  border: 1px solid rgba(143, 111, 86, 0.1);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.64);
  box-shadow: 0 12px 24px rgba(80, 52, 36, 0.06);
  opacity: 0;
  transform: translate3d(18px, 14px, 0) scale(0.985);
}

.itinerary-item::after {
  content: "";
  position: absolute;
  top: 18px;
  left: calc(var(--itinerary-axis) - var(--itinerary-item-offset) - (var(--itinerary-dot-size) / 2));
  z-index: 2;
  width: var(--itinerary-dot-size);
  height: var(--itinerary-dot-size);
  border: 2px solid #fffdf9;
  border-radius: 50%;
  background: var(--itinerary-dot-color, linear-gradient(135deg, #d8bd82, #8f6f56));
  box-shadow: 0 0 0 5px var(--itinerary-dot-shadow, rgba(212, 187, 148, 0.12));
}

.itinerary-item::before {
  content: "";
  position: relative;
  display: none;
}

.itinerary-item + .itinerary-item::before {
  display: none;
}

.itinerary-time {
  align-self: center;
  color: #8f6f56;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-shadow: 0 8px 18px rgba(143, 111, 86, 0.08);
}

.itinerary-time span {
  font-size: 0.56em;
  font-weight: 700;
  letter-spacing: 0.12em;
  vertical-align: 0.18em;
}

.itinerary-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding-top: 0;
}

.itinerary-copy span {
  color: #2f2624;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.28;
}

.itinerary-copy small {
  color: #927866;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.45;
}

.itinerary-card.is-visible .itinerary-list::before {
  animation: itinerary-line-draw 900ms cubic-bezier(0.16, 0.86, 0.22, 1) 260ms both;
}

.itinerary-card.is-visible .itinerary-item {
  animation: itinerary-item-rise 720ms cubic-bezier(0.16, 0.86, 0.22, 1) both;
  animation-delay: var(--itinerary-delay, 0ms);
}

.itinerary-card.is-visible .itinerary-item::after {
  animation: itinerary-dot-glow 2.8s ease-in-out infinite;
}

.itinerary-card.is-visible .itinerary-item:nth-child(1) {
  animation-delay: var(--itinerary-delay, 220ms);
}

.itinerary-card.is-visible .itinerary-item:nth-child(2) {
  animation-delay: var(--itinerary-delay, 340ms);
}

.itinerary-card.is-visible .itinerary-item:nth-child(3) {
  animation-delay: var(--itinerary-delay, 460ms);
}

.itinerary-card.is-visible .itinerary-item:nth-child(4) {
  animation-delay: var(--itinerary-delay, 580ms);
}

.couple-slider-card.shape-cut-card,
.dress-code-card.shape-cut-card {
  clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0 calc(100% - 20px), 0 20px);
  border-radius: 0;
}

.adults-card.shape-ticket-card,
.rsvp-card.shape-ticket-card {
  overflow: visible;
}

.adults-card.shape-ticket-card::before,
.adults-card.shape-ticket-card::after,
.rsvp-card.shape-ticket-card::before,
.rsvp-card.shape-ticket-card::after {
  content: "";
  width: 22px;
  height: 22px;
  position: absolute;
  top: 50%;
  z-index: 2;
  border-radius: 50%;
  background: #fcfaf7;
  transform: translateY(-50%);
}

.adults-card.shape-ticket-card::before,
.rsvp-card.shape-ticket-card::before {
  left: -11px;
}

.adults-card.shape-ticket-card::after,
.rsvp-card.shape-ticket-card::after {
  right: -11px;
}

.premium-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(120deg, transparent 0 38%, rgba(255, 255, 255, 0.46), transparent 62% 100%);
  opacity: 0;
  transform: translateX(-85%);
  pointer-events: none;
}

.premium-card:hover::after {
  animation: invitation-sheen 900ms ease;
}

.reveal-on-scroll {
  opacity: 0;
  transform: none;
  transition: opacity 680ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-on-scroll.reveal-from-left {
  transform: none;
}

.reveal-on-scroll.reveal-from-right {
  transform: none;
}

.reveal-on-scroll.reveal-from-left.is-visible,
.reveal-on-scroll.reveal-from-right.is-visible {
  transform: none;
}

.invitation-spark {
  width: 10px;
  height: 10px;
  position: fixed;
  z-index: 999;
  border-radius: 50%;
  background: rgba(183, 0, 79, 0.5);
  box-shadow: 0 0 22px rgba(183, 0, 79, 0.5);
  pointer-events: none;
  animation: invitation-spark-pop 520ms ease forwards;
}

.countdown-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
  text-align: center;
}

.countdown-header > .material-symbols-outlined {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
}

.countdown-header p,
.countdown-header h3 {
  margin: 0;
}

.countdown-header p {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.countdown-header h3 {
  margin-top: 3px;
  color: #2b2527;
  font-size: 18px;
  font-weight: 800;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
}

.countdown-grid div {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 12px 4px 10px;
  border-radius: 12px;
  background: white;
  box-shadow: inset 0 0 0 1px #f2dbe2;
}

.countdown-grid strong {
  color: var(--primary);
  font-size: clamp(20px, 7vw, 30px);
  font-weight: 800;
  line-height: 1;
}

.countdown-grid span {
  color: #6f6265;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.countdown-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.video-message-card {
  overflow: hidden;
  background: white;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.portrait-triptych-card {
  margin: 0 18px;
  padding: 18px 14px 22px;
  overflow: hidden;
  border: 1px solid rgba(225, 192, 220, 0.72);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 250, 252, 0.96), rgba(243, 211, 251, 0.92));
  box-shadow: 0 18px 38px rgba(126, 89, 110, 0.08);
}

.portrait-triptych-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr 1fr;
  gap: 12px;
  align-items: stretch;
}

.triptych-photo-card {
  width: 100%;
  min-height: 520px;
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(180deg, rgba(186, 144, 132, 0.34), rgba(109, 76, 70, 0.26));
  box-shadow: 0 16px 28px rgba(81, 56, 54, 0.14);
}

.triptych-photo-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.portrait-triptych-card[data-portrait-layout] .portrait-triptych-grid {
  gap: calc(var(--portrait-gap, 12) * 1px);
}

.portrait-triptych-card[data-portrait-layout] .triptych-photo-card {
  min-height: calc(var(--portrait-height, 520) * 1px);
}

.portrait-triptych-card[data-portrait-layout="three-vertical"] .portrait-triptych-grid {
  grid-template-columns: 1fr 1.08fr 1fr;
  grid-template-areas: "left center right";
}

.portrait-triptych-card[data-portrait-layout="two-vertical"] .portrait-triptych-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "left center";
}

.portrait-triptych-card[data-portrait-layout="two-vertical"] .triptych-right {
  display: none;
}

.portrait-triptych-card[data-portrait-layout="two-horizontal"] .portrait-triptych-grid,
.portrait-triptych-card[data-portrait-layout="three-horizontal"] .portrait-triptych-grid {
  grid-template-columns: 1fr;
}

.portrait-triptych-card[data-portrait-layout="two-horizontal"] .portrait-triptych-grid {
  grid-template-areas:
    "left"
    "center";
}

.portrait-triptych-card[data-portrait-layout="three-horizontal"] .portrait-triptych-grid {
  grid-template-areas:
    "left"
    "center"
    "right";
}

.portrait-triptych-card[data-portrait-layout="two-horizontal"] .triptych-photo-card,
.portrait-triptych-card[data-portrait-layout="three-horizontal"] .triptych-photo-card {
  min-height: calc(var(--portrait-height, 520) * 1px);
}

.portrait-triptych-card[data-portrait-layout="two-horizontal"] .triptych-right {
  display: none;
}

.portrait-triptych-card[data-portrait-layout="two-vertical-one-horizontal"] .portrait-triptych-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "left right"
    "center right";
}

.portrait-triptych-card[data-portrait-layout="one-vertical-two-horizontal"] .portrait-triptych-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "left center"
    "left right";
}

.portrait-triptych-card[data-portrait-layout="feature-left"] .portrait-triptych-grid {
  grid-template-columns: 1.28fr 0.92fr;
  grid-template-areas:
    "left center"
    "left right";
}

.portrait-triptych-card[data-portrait-layout="feature-center"] .portrait-triptych-grid {
  grid-template-columns: 0.92fr 1.28fr;
  grid-template-areas:
    "left center"
    "right center";
}

.portrait-triptych-card[data-portrait-layout="mosaic"] .portrait-triptych-grid {
  grid-template-columns: 1fr 1fr 0.86fr;
  grid-template-areas:
    "left center right"
    "left center right";
}

.portrait-triptych-card[data-portrait-layout="two-vertical-one-horizontal"] .triptych-photo-card,
.portrait-triptych-card[data-portrait-layout="one-vertical-two-horizontal"] .triptych-photo-card,
.portrait-triptych-card[data-portrait-layout="feature-left"] .triptych-photo-card,
.portrait-triptych-card[data-portrait-layout="feature-center"] .triptych-photo-card,
.portrait-triptych-card[data-portrait-layout="mosaic"] .triptych-photo-card {
  min-height: calc(var(--portrait-height, 520) * 1px);
}

.portrait-triptych-card[data-portrait-layout="two-vertical-one-horizontal"] .triptych-right,
.portrait-triptych-card[data-portrait-layout="one-vertical-two-horizontal"] .triptych-left,
.portrait-triptych-card[data-portrait-layout="feature-left"] .triptych-left,
.portrait-triptych-card[data-portrait-layout="feature-center"] .triptych-center,
.portrait-triptych-card[data-portrait-layout="mosaic"] .triptych-left,
.portrait-triptych-card[data-portrait-layout="mosaic"] .triptych-center,
.portrait-triptych-card[data-portrait-layout="mosaic"] .triptych-right {
  min-height: calc(var(--portrait-height, 520) * 1px);
}

.portrait-triptych-card[data-portrait-layout] .triptych-left {
  grid-area: left;
}

.portrait-triptych-card[data-portrait-layout] .triptych-center {
  grid-area: center;
}

.portrait-triptych-card[data-portrait-layout] .triptych-right {
  grid-area: right;
}

.triptych-left,
.triptych-right,
.triptych-center {
  opacity: 0;
  transition:
    transform 760ms cubic-bezier(0.2, 0.72, 0.12, 1),
    opacity 620ms ease;
  will-change: transform, opacity;
}

.triptych-left {
  transform: translateX(-56px);
}

.triptych-center {
  transform: translateY(24px) scale(0.96);
}

.triptych-right {
  transform: translateX(56px);
}

.portrait-triptych-card.is-visible .triptych-left,
.portrait-triptych-card.is-visible .triptych-center,
.portrait-triptych-card.is-visible .triptych-right {
  opacity: 1;
}

.portrait-triptych-card.is-visible .triptych-left,
.portrait-triptych-card.is-visible .triptych-right {
  transform: translateX(0);
}

.portrait-triptych-card.is-visible .triptych-center {
  transform: translateY(0) scale(1);
  transition-delay: 120ms;
}

.portrait-triptych-card.is-visible .triptych-right {
  transition-delay: 180ms;
}

.video-message-copy {
  padding: 18px 18px 0;
}

.video-message-copy p {
  margin: 0;
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.video-frame {
  position: relative;
  overflow: hidden;
  background: #111;
}

.video-frame video {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
}

.video-frame.is-loading-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.04), rgba(17, 17, 17, 0.18));
  pointer-events: none;
}

.video-buffer-status {
  position: absolute;
  inset: 12px 12px auto;
  z-index: 3;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.78);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.video-buffer-status span {
  font-size: 17px;
  animation: invitation-preloader-spin 1s linear infinite;
}

.video-frame.is-loading-video .video-buffer-status {
  opacity: 1;
  transform: translateY(0);
}

.video-buffer-status[hidden] {
  display: none;
}

.video-buffer-track {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  height: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.26);
  pointer-events: none;
}

.video-buffer-track span {
  width: 0%;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(183, 0, 79, 0.9));
  box-shadow: 0 0 14px rgba(183, 0, 79, 0.42);
  transition: width 180ms ease;
}

.video-frame:not(.is-loading-video) .video-buffer-track {
  opacity: 0.58;
}

.spotify-card {
  margin: 0 18px;
  padding: 18px;
  display: grid;
  justify-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #171717, #252525);
  color: white;
  text-align: center;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.spotify-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #1ed760;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spotify-player {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: center;
}

.spotify-player img {
  width: 76px;
  height: 76px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

.spotify-info {
  min-width: 0;
}

.spotify-info p,
.spotify-info h3 {
  margin: 0;
}

.spotify-info p {
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.spotify-info h3 {
  margin-top: 4px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.05;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.spotify-info span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.spotify-play {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  align-self: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #1ed760;
  color: #111;
  text-decoration: none;
}

.spotify-progress {
  height: 4px;
  width: 100%;
  max-width: 320px;
  margin: 18px 0 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.spotify-progress span {
  width: 42%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: #1ed760;
}

.spotify-link {
  width: 100%;
  max-width: 320px;
  display: block;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.couple-slider-card {
  margin: 0 18px;
  overflow: hidden;
  border: 1px solid rgba(143, 111, 86, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.96), transparent 34%),
    linear-gradient(145deg, #fffdf9 0%, #f4eadf 48%, #fffaf3 100%);
  box-shadow: 0 24px 52px rgba(75, 54, 40, 0.14);
  transform-origin: center top;
}

.slider-header {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 18px 15px;
  text-align: center;
}

.slider-header p,
.slider-header h3 {
  margin: 0;
}

.slider-header p {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.slider-header h3 {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 800;
}

.slider-header > .material-symbols-outlined {
  display: none;
}

.couple-slider {
  position: relative;
  overflow: hidden;
  margin: 0 14px 14px;
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.72);
  box-shadow: 0 14px 28px rgba(47, 38, 36, 0.12);
  perspective: 900px;
  touch-action: pan-y;
  cursor: grab;
}

.couple-slider.is-dragging {
  cursor: grabbing;
}

.couple-slider::before,
.couple-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
}

.couple-slider::before {
  display: none;
}

.couple-slider::after {
  width: 54%;
  left: -62%;
  right: auto;
  background: linear-gradient(100deg, transparent 0 18%, rgba(255, 255, 255, 0.44), transparent 76% 100%);
  transform: rotate(12deg);
  opacity: 0;
}

.slider-track {
  display: flex;
  transition: transform 760ms cubic-bezier(0.16, 0.86, 0.22, 1);
  will-change: transform;
}

.slider-track img {
  width: 100%;
  aspect-ratio: 4 / 5;
  flex: 0 0 100%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(0.94) brightness(0.98);
  transform: scale(1);
  transform-origin: center;
  transition:
    opacity 760ms ease,
    filter 760ms ease,
    transform 900ms cubic-bezier(0.16, 0.86, 0.22, 1);
  will-change: transform, opacity, filter;
}

.slider-track img.is-active {
  opacity: 1;
  filter: saturate(1.08) brightness(1.02) contrast(1.03);
  transform: scale(1);
}

.slider-track img.is-previous {
  transform: scale(1);
}

.slider-track img.is-next {
  transform: scale(1);
}

.slider-btn {
  width: 34px;
  height: 34px;
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(31, 25, 22, 0.26);
  color: rgba(255, 253, 249, 0.86);
  box-shadow: none;
  backdrop-filter: blur(10px);
  opacity: 0.58;
  transition: background 180ms ease, opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.slider-btn:hover {
  opacity: 0.88;
  background: rgba(31, 25, 22, 0.42);
  box-shadow: none;
}

.slider-btn:active {
  transform: translateY(-50%) scale(0.94);
  opacity: 0.82;
}

.slider-btn.prev {
  left: 8px;
}

.slider-btn.next {
  right: 8px;
}

.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.slider-dots button {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.24);
  transition: width 260ms ease, background 260ms ease, transform 260ms ease;
}

.slider-dots button.active {
  width: 24px;
  background: #fffdf9;
  transform: translateY(-1px);
}

.couple-slider-card.is-visible {
  animation: gallery-card-bloom 920ms cubic-bezier(0.16, 0.86, 0.22, 1) both;
}

.couple-slider-card.is-visible .slider-header {
  animation: entry-rise 680ms ease 160ms both;
}

.couple-slider-card.is-visible .couple-slider::after {
  animation: gallery-orbital-sheen 1150ms ease 320ms both;
}

.couple-slider-card.is-visible .slider-track img.is-active {
  animation: gallery-photo-breathe 6.8s ease-in-out 920ms infinite;
}

.ceremony-card {
  --section-button-color: var(--action-button-color);
  --section-button-text-color: #ffffff;
  overflow: hidden;
  border: 1px solid rgba(143, 111, 86, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 249, 244, 0.94)),
    var(--card-surface-image);
  box-shadow: 0 20px 42px rgba(71, 48, 36, 0.12);
}

.ceremony-photo {
  height: clamp(230px, 62vw, 310px);
  position: relative;
  overflow: hidden;
  margin: 12px 12px 0;
  border-radius: 18px;
  background: #eee4dd;
}

.ceremony-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.ceremony-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(25, 18, 15, 0.1), transparent 32%),
    linear-gradient(to top, rgba(25, 18, 15, 0.36), transparent 54%);
}

.ceremony-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.9);
  color: var(--section-text-color, var(--primary));
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(36, 26, 20, 0.12);
  backdrop-filter: blur(12px);
}

.ceremony-badge .material-symbols-outlined {
  font-size: 15px;
}

.ceremony-info {
  padding: 15px 18px 18px;
  text-align: left;
}

.ceremony-info .eyebrow {
  margin: 0 0 5px;
  color: var(--section-text-color, var(--primary));
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ceremony-info h3 {
  margin: 0 0 10px;
  color: var(--section-text-color, #211d1f);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.04;
}

.ceremony-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px;
  margin-bottom: 10px;
}

.ceremony-details > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--section-text-color, #5a4045);
  font-size: 11px;
  font-weight: 800;
}

.ceremony-details .material-symbols-outlined {
  color: var(--section-text-color, var(--primary));
  font-size: 15px;
}

.ceremony-info > p:not(.eyebrow) {
  display: -webkit-box;
  margin: 0 0 13px;
  overflow: hidden;
  color: var(--section-text-color, #62575a);
  font-size: 12px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.maps-button {
  width: 100%;
  max-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  margin-inline: auto;
  border-radius: 12px;
  background: var(--section-button-color, var(--action-button-color));
  color: var(--section-button-text-color, white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(92, 64, 44, 0.2);
}

.ceremony-info .maps-button {
  width: auto;
  max-width: none;
  display: inline-flex;
  padding: 10px 13px;
  margin-inline: 0;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.06em;
  box-shadow: 0 10px 20px rgba(92, 64, 44, 0.15);
}

.ceremony-info .maps-button .material-symbols-outlined {
  font-size: 16px;
}

.post-card {
  background: white;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.date-art {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 42px;
  background-color: #eeeeee;
  background-image:
    linear-gradient(30deg, rgba(255, 255, 255, 0.28) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.28) 87.5%, rgba(255, 255, 255, 0.28)),
    linear-gradient(150deg, rgba(255, 255, 255, 0.28) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.28) 87.5%, rgba(255, 255, 255, 0.28)),
    linear-gradient(30deg, rgba(255, 255, 255, 0.28) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.28) 87.5%, rgba(255, 255, 255, 0.28)),
    linear-gradient(150deg, rgba(255, 255, 255, 0.28) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.28) 87.5%, rgba(255, 255, 255, 0.28)),
    linear-gradient(60deg, rgba(255, 255, 255, 0.18) 25%, transparent 25.5%, transparent 75%, rgba(255, 255, 255, 0.18) 75%, rgba(255, 255, 255, 0.18));
  background-position: 0 0, 0 0, 18px 32px, 18px 32px, 0 0;
  background-size: 36px 64px;
}

.date-ticket {
  min-width: 150px;
  padding: 28px 22px 24px;
  position: relative;
  border-radius: 14px;
  background: white;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.14);
  text-align: center;
}

.date-ticket > span {
  min-width: 66px;
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.date-ticket h3 {
  margin: 0 0 9px;
  color: var(--primary);
  font-size: 16px;
}

.date-ticket p {
  margin: 0 0 16px;
  color: #444;
  font-size: 13px;
}

.date-ticket i {
  width: 48px;
  height: 4px;
  display: block;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--secondary);
}

.pink {
  color: #e0005a;
}

.venue-card {
  margin: 0 18px;
  overflow: hidden;
  border: 1px solid #efefef;
  border-radius: 18px;
  background: white;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

.map-image {
  height: 190px;
  position: relative;
  overflow: hidden;
}

.map-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}

.map-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(183, 0, 79, 0.08);
}

.map-pin {
  width: 46px;
  height: 46px;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: white;
  color: var(--primary);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.venue-info {
  padding: 18px 18px 20px;
}

.venue-info h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 500;
}

.venue-info p {
  margin: 0 0 17px;
  color: #5f5558;
  font-size: 12px;
  line-height: 1.5;
}

.venue-info button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 13px;
  border-radius: 8px;
  background: #e9e9e9;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.party-card {
  --section-button-color: var(--action-button-color);
  --section-button-text-color: #ffffff;
  overflow: hidden;
  background: white;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.torna-card {
  background: #fffdf8;
}

.party-photo {
  height: 330px;
  position: relative;
  overflow: hidden;
  background: #e9e9e9;
}

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

.party-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.48), transparent 58%);
}

.party-card.has-no-photo .party-photo {
  height: auto;
  overflow: visible;
  padding: 18px 18px 0;
  background: transparent;
}

.party-card.has-no-photo .party-photo img,
.party-card.has-no-photo .party-photo::after {
  display: none;
}

.party-card.has-no-photo .party-badge {
  position: static;
  display: inline-flex;
  margin-inline: auto;
  transform: none;
}

.torna-photo::after {
  background:
    linear-gradient(to top, rgba(83, 51, 20, 0.58), transparent 60%),
    linear-gradient(135deg, rgba(253, 123, 59, 0.18), rgba(183, 0, 79, 0.08));
}

.party-badge {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.party-info {
  padding: 18px 18px 6px;
  text-align: center;
}

.party-info .eyebrow {
  margin: 0 0 6px;
  color: var(--section-text-color, var(--primary));
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.party-info h3 {
  margin: 0 0 12px;
  color: var(--section-text-color, #211d1f);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.12;
}

.party-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 13px;
}

.party-details > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #f7f0f2;
  color: var(--section-text-color, #5a4045);
  font-size: 12px;
  font-weight: 800;
}

.party-details .material-symbols-outlined {
  color: var(--section-text-color, var(--primary));
  font-size: 18px;
}

.party-info > p:not(.eyebrow) {
  margin: 0 0 14px;
  color: var(--section-text-color, #62575a);
  font-size: 13px;
  line-height: 1.55;
}

.party-address {
  padding: 12px 13px;
  border-radius: 12px;
  background: #f8f2f4;
  text-align: center;
}

.dress-code-card {
  margin: 0 18px;
  padding: 22px 18px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(183, 0, 79, 0.1), rgba(156, 83, 205, 0.12)),
    #ffffff;
  border: 1px solid rgba(183, 0, 79, 0.1);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

.dress-code-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  text-align: center;
}

.dress-code-header > .material-symbols-outlined {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: white;
}

.dress-code-header p,
.dress-code-header h3 {
  margin: 0;
}

.dress-code-header p {
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dress-code-header h3 {
  margin-top: 4px;
  color: #211d1f;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 25px;
  font-weight: 700;
}

.dress-code-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.outfit-card {
  min-width: 0;
  display: grid;
  gap: 5px;
  justify-items: center;
  padding: 16px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(183, 0, 79, 0.09);
}

.outfit-card .material-symbols-outlined {
  color: var(--primary);
  font-size: 30px;
}

.outfit-card strong {
  font-size: 13px;
  font-weight: 800;
}

.outfit-card small {
  color: #6f6265;
  font-size: 11px;
  line-height: 1.3;
}

.color-palette {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 16px;
}

.color-palette span {
  width: 32px;
  height: 32px;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}

.dress-code-card > p {
  margin: 0;
  color: #5f5558;
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.adults-card {
  margin: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #f0dce5;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.07);
  text-align: center;
}

.adults-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
}

.adults-card p,
.adults-card h3 {
  margin: 0;
}

.adults-card p {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.adults-card h3 {
  margin-top: 4px;
  color: #211d1f;
  font-size: 20px;
  font-weight: 800;
}

.adults-card span {
  display: block;
  margin-top: 8px;
  color: #62575a;
  font-size: 13px;
  line-height: 1.55;
}

.rsvp-card {
  --rsvp-text-color: #ffffff;
  --rsvp-muted-color: rgba(255, 255, 255, 0.85);
  --rsvp-button-color: #ffffff;
  --rsvp-button-text-color: var(--primary);
  --rsvp-button-border-color: rgba(255, 255, 255, 0.24);
  --rsvp-selected-ring-color: rgba(183, 0, 79, 0.25);
  margin: 0 18px 10px;
  padding: 34px 26px 26px;
  display: grid;
  justify-items: center;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--primary), var(--tertiary));
  color: var(--rsvp-text-color);
  text-align: center;
  box-shadow: 0 20px 48px rgba(183, 0, 79, 0.28);
}

.rsvp-card > .material-symbols-outlined {
  margin-bottom: 24px;
  font-size: 38px;
}

.rsvp-card h3 {
  margin: 0 0 10px;
  font-size: 31px;
  font-weight: 800;
  line-height: 1.1;
}

.rsvp-card p {
  max-width: 360px;
  margin: 0 0 34px;
  color: var(--rsvp-muted-color);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
}

.rsvp-options {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 360px;
}

.rsvp-options button {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border: 1px solid var(--rsvp-button-border-color);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--rsvp-text-color);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rsvp-options button.selected {
  background: var(--rsvp-button-color);
  color: var(--rsvp-button-text-color);
}

.rsvp-options i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
}

.rsvp-options button.selected i {
  border-color: var(--rsvp-selected-ring-color);
}

.rsvp-options button.selected i::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rsvp-button-text-color);
}

.rsvp-card.is-locked .rsvp-options {
  opacity: 0.72;
}

.rsvp-card.is-locked .rsvp-options button {
  cursor: default;
  pointer-events: none;
}

.rsvp-card.is-locked .rsvp-options button:not(.selected) {
  filter: saturate(0.6);
}

.guest-count {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 28px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.12);
}

.avatars {
  display: flex;
  align-items: center;
}

.avatars img,
.avatars span {
  width: 26px;
  height: 26px;
  margin-left: -7px;
  border: 2px solid rgba(183, 0, 79, 0.7);
  border-radius: 50%;
}

.avatars img:first-child {
  margin-left: 0;
}

.avatars span {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 9px;
  font-weight: 800;
}

.guest-count strong {
  font-size: 15px;
}

.rsvp-modal {
  width: min(100%, var(--app-width));
  position: fixed;
  inset: 0;
  left: 50%;
  z-index: 62;
  display: grid;
  place-items: center;
  padding: 22px;
  transform: translateX(-50%);
  background:
    linear-gradient(180deg, rgba(31, 21, 20, 0.3), rgba(31, 21, 20, 0.42)),
    radial-gradient(circle at top, rgba(255, 246, 236, 0.08), transparent 42%);
  backdrop-filter: blur(16px) saturate(112%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 280ms ease, visibility 280ms ease;
}

.rsvp-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.rsvp-modal-panel {
  width: 100%;
  position: relative;
  padding: 30px 22px 24px;
  border-radius: 24px;
  border: 1px solid rgba(196, 172, 147, 0.28);
  background: var(--modal-surface-background, linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(249, 243, 235, 0.98)));
  background-image: var(--modal-surface-image, var(--modal-surface-background, linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(249, 243, 235, 0.98))));
  background-position: var(--modal-surface-position, center center);
  background-size: var(--modal-surface-size, cover);
  background-repeat: var(--modal-surface-repeat, no-repeat);
  color: #211d1f;
  text-align: center;
  box-shadow:
    0 28px 72px rgba(31, 21, 20, 0.24),
    0 2px 0 rgba(255, 255, 255, 0.72) inset;
  transform: translate3d(0, 18px, 0) scale(0.965);
  transform-origin: center bottom;
  transition: transform 360ms cubic-bezier(0.2, 0.72, 0.12, 1);
}

.rsvp-modal.is-open .rsvp-modal-panel {
  transform: translate3d(0, 0, 0) scale(1);
}

.rsvp-choice-panel {
  max-width: 380px;
  padding: 26px 20px 18px;
  text-align: left;
}

.rsvp-choice-panel > .material-symbols-outlined {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin: 0 0 14px;
  border-radius: 50%;
  background: rgba(176, 138, 99, 0.14);
  color: #9b7b5f;
  font-size: 28px;
}

.rsvp-choice-panel h3,
.rsvp-choice-panel p {
  margin: 0;
}

.rsvp-choice-panel h3 {
  max-width: 220px;
  color: #3c3130;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 0.98;
}

.rsvp-choice-panel p {
  margin-top: 12px;
  color: #766559;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.55;
}

.rsvp-modal-guest {
  display: block;
  margin: 8px 0 6px;
  color: #7f675d;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
}

.rsvp-choice-panel .rsvp-modal-guest {
  margin: 0 0 8px;
  color: #9b7b5f;
}

.rsvp-choice-options {
  margin-top: 24px;
}

.rsvp-modal-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
}

.rsvp-modal-icon .material-symbols-outlined {
  font-size: 31px;
}

.rsvp-modal-panel p,
.rsvp-modal-panel h3 {
  margin: 0;
}

.rsvp-modal-panel p {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rsvp-modal-panel h3 {
  margin-top: 7px;
  font-size: 25px;
  font-weight: 800;
}

.rsvp-modal-panel > span {
  display: block;
  margin-top: 10px;
  color: #62575a;
  font-size: 14px;
  line-height: 1.55;
}

.rsvp-reply {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  text-align: left;
}

.rsvp-reply[hidden] {
  display: none;
}

.reply-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.reply-actions button {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px;
  border-radius: 12px;
  background: #f8f2f4;
  color: #62575a;
  font-size: 12px;
  font-weight: 800;
}

.reply-actions button.active {
  background: var(--primary);
  color: white;
}

.rsvp-reply textarea {
  width: 100%;
  min-height: 104px;
  resize: vertical;
  border: 1px solid #f0dce5;
  border-radius: 14px;
  padding: 13px;
  color: #211d1f;
  font: inherit;
  outline: none;
}

.video-reply-field {
  display: grid;
  gap: 10px;
  border: 1px dashed rgba(183, 0, 79, 0.32);
  border-radius: 14px;
  padding: 12px;
  background: #fff8fb;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.video-reply-field[hidden] {
  display: none;
}

.video-reply-field video {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 280px;
  border-radius: 12px;
  background: #111;
  object-fit: cover;
}

.recording-status {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.camera-actions {
  display: grid;
  gap: 8px;
}

.camera-actions button {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 800;
}

.camera-actions button[hidden] {
  display: none;
}

.camera-actions button.is-recording {
  background: #ba1a1a;
}

.reply-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--action-button-color);
  color: white;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(92, 64, 44, 0.2);
}

.passes-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--action-button-color);
  color: white;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(92, 64, 44, 0.2);
}

.passes-link[hidden] {
  display: none;
}

.registry-card {
  --section-button-color: var(--action-button-color);
  --section-button-text-color: #ffffff;
  margin: 0 18px 10px;
  overflow: hidden;
  border: 1px solid #efefef;
  border-radius: 18px;
  background: white;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

.brand-contact-card {
  margin: -4px 18px 0;
  padding: 14px 14px 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(143, 111, 86, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.82), rgba(248, 242, 235, 0.76));
  box-shadow: 0 12px 26px rgba(80, 52, 36, 0.06);
}

.brand-contact-card div {
  min-width: 0;
}

.brand-contact-card span {
  display: block;
  color: var(--section-text-color, var(--editor-color, #7b614d));
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.brand-contact-card p {
  margin: 4px 0 0;
  color: var(--section-text-color, var(--editor-color, #756760));
  font-size: 11px;
  line-height: 1.45;
}

.brand-contact-card a {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid color-mix(in srgb, var(--section-button-color, var(--editor-accent, #8f6f56)) 36%, transparent);
  border-radius: 999px;
  background: var(--section-button-color, var(--editor-accent, rgba(255, 255, 255, 0.54)));
  color: var(--section-button-text-color, var(--editor-color, #7b614d));
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-contact-card a span {
  display: inline;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

.registry-media {
  height: 240px;
  position: relative;
  overflow: hidden;
  background: #eee;
}

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

.registry-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.42), transparent 58%);
}

.registry-badge {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.registry-info {
  padding: 18px;
  text-align: center;
}

.registry-info .eyebrow {
  margin: 0 0 6px;
  color: var(--section-text-color, var(--primary));
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.registry-info h3 {
  margin: 0 0 10px;
  color: var(--section-text-color, #211d1f);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.12;
}

.registry-info p:not(.eyebrow) {
  margin: 0 0 16px;
  color: var(--section-text-color, #62575a);
  font-size: 13px;
  line-height: 1.55;
}

.registry-options {
  display: grid;
  gap: 12px;
}

.registry-button {
  width: 100%;
  max-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--section-button-color, var(--action-button-color));
  color: var(--section-button-text-color, white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(92, 64, 44, 0.2);
}

.registry-modal {
  width: min(100%, var(--app-width));
  position: fixed;
  inset: 0;
  left: 50%;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
  transform: translateX(-50%);
  background:
    linear-gradient(180deg, rgba(31, 21, 20, 0.3), rgba(31, 21, 20, 0.42)),
    radial-gradient(circle at top, rgba(255, 246, 236, 0.08), transparent 42%);
  backdrop-filter: blur(16px) saturate(112%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 280ms ease, visibility 280ms ease;
}

.registry-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.registry-modal-panel {
  width: 100%;
  max-height: min(82vh, 720px);
  position: relative;
  overflow-y: auto;
  padding: 22px 18px 18px;
  border-radius: 24px 24px 18px 18px;
  border: 1px solid rgba(196, 172, 147, 0.28);
  background: var(--modal-surface-background, linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(249, 243, 235, 0.98)));
  background-image: var(--modal-surface-image, var(--modal-surface-background, linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(249, 243, 235, 0.98))));
  background-position: var(--modal-surface-position, center center);
  background-size: var(--modal-surface-size, cover);
  background-repeat: var(--modal-surface-repeat, no-repeat);
  box-shadow:
    0 -18px 52px rgba(31, 21, 20, 0.22),
    0 2px 0 rgba(255, 255, 255, 0.72) inset;
  transform: translate3d(0, 22px, 0) scale(0.972);
  transform-origin: center bottom;
  transition: transform 360ms cubic-bezier(0.2, 0.72, 0.12, 1);
}

.registry-modal.is-open .registry-modal-panel {
  transform: translate3d(0, 0, 0) scale(1);
}

.modal-close {
  width: 38px;
  height: 38px;
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f5eef1;
  color: var(--primary);
}

.modal-heading {
  padding-right: 46px;
  margin-bottom: 16px;
}

.modal-heading p,
.modal-heading h3 {
  margin: 0;
}

.modal-heading p {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.modal-heading h3 {
  margin-top: 5px;
  color: #211d1f;
  font-size: 24px;
  font-weight: 800;
}

.modal-heading span {
  display: block;
  margin-top: 6px;
  color: #62575a;
  font-size: 13px;
}

.gift-option {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border-radius: 12px;
  background: #f8f2f4;
  color: #211d1f;
  text-decoration: none;
}

.gift-option > div {
  min-width: 0;
  flex: 1;
}

.gift-option strong,
.bank-title strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
}

.gift-option small,
.bank-title small {
  display: block;
  margin-top: 3px;
  color: #706467;
  font-size: 11px;
  line-height: 1.35;
}

.gift-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: white;
  font-size: 18px;
  font-weight: 800;
}

.gift-option.liverpool .gift-icon {
  background: #e10098;
}

.gift-option.amazon .gift-icon {
  background: #111;
}

.gift-option.mercado .gift-icon {
  background: #ffe600;
  color: #2d3277;
}

.gift-option > .material-symbols-outlined {
  color: var(--primary);
}

.bank-option {
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff8fb, #f5edf8);
  border: 1px solid #f0dce5;
}

.bank-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.bank-title > .material-symbols-outlined {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--primary);
  color: white;
}

.bank-option dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.bank-option dl div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.72);
}

.bank-option dt {
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bank-option dd {
  margin: 0;
  color: #2b2527;
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

/* Formal invitation language */
.blessing-card.shape-arch-card,
.countdown-card.shape-arch-card,
.registry-card.shape-arch-card,
.couple-slider-card.shape-cut-card,
.dress-code-card.shape-cut-card {
  clip-path: none;
  border-radius: 20px;
}

.adults-card.shape-ticket-card::before,
.adults-card.shape-ticket-card::after,
.rsvp-card.shape-ticket-card::before,
.rsvp-card.shape-ticket-card::after {
  display: none;
}

.blessing-card,
.countdown-card,
.video-message-card,
.spotify-card,
.couple-slider-card,
.ceremony-card,
.party-card,
.dress-code-card,
.adults-card,
.rsvp-card,
.registry-card {
  border: 1px solid rgba(120, 88, 68, 0.13);
  border-radius: 20px;
  background-color: #fffdf9;
  background-image: var(--card-surface-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 18px 34px rgba(80, 52, 36, 0.08);
}

.blessing-card,
.countdown-card,
.video-message-card,
.spotify-card,
.couple-slider-card,
.ceremony-card,
.party-card,
.dress-code-card,
.adults-card,
.rsvp-card,
.registry-card,
.rsvp-modal-panel,
.registry-modal-panel {
  position: relative;
}

.blessing-card::before,
.countdown-card::before,
.video-message-card::before,
.spotify-card::before,
.couple-slider-card::before,
.ceremony-card::before,
.party-card::before,
.dress-code-card::before,
.adults-card::before,
.rsvp-card::before,
.registry-card::before,
.rsvp-modal-panel::before,
.registry-modal-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top center, rgba(214, 180, 124, 0.12), transparent 34%);
  pointer-events: none;
}

.countdown-card,
.spotify-card,
.dress-code-card,
.adults-card,
.rsvp-card {
  padding: 22px 20px;
}

.video-message-card,
.couple-slider-card,
.ceremony-card,
.party-card,
.registry-card {
  margin: 0 18px;
}

.video-frame,
.registry-info,
.ceremony-info,
.party-info {
  position: relative;
  z-index: 1;
}

.video-message-copy,
.video-frame {
  padding: 14px;
}

.video-frame {
  width: 100%;
  max-width: calc(100% - 28px);
  margin-inline: auto;
  padding-top: 0;
  background: transparent;
}

.video-frame video,
.slider-track img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(47, 38, 36, 0.14);
}

.rebuilt-video-card {
  display: block;
  width: auto;
  margin-inline: 18px;
  padding: 14px;
}

.rebuilt-video-card-inner {
  width: 100%;
  display: grid;
  position: relative;
  z-index: 1;
}

.rebuilt-video-card .video-message-copy {
  width: 100%;
  padding: 0 0 14px;
}

.rebuilt-video-frame {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding: 0;
  background: transparent;
}

.rebuilt-video-frame video {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.couple-slider-card {
  border-color: rgba(143, 111, 86, 0.18);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.96), transparent 34%),
    linear-gradient(145deg, #fffdf9 0%, #f4eadf 48%, #fffaf3 100%);
  box-shadow: 0 24px 52px rgba(75, 54, 40, 0.14);
}

.couple-slider-card::before {
  background:
    radial-gradient(circle at 22% 6%, rgba(255, 255, 255, 0.72), transparent 28%),
    radial-gradient(circle at top center, rgba(214, 180, 124, 0.14), transparent 38%);
}

.couple-slider-card .couple-slider {
  background: rgba(255, 253, 249, 0.72);
  box-shadow: 0 14px 28px rgba(47, 38, 36, 0.12);
}

.countdown-header > .material-symbols-outlined,
.slider-header > .material-symbols-outlined,
.dress-code-header > .material-symbols-outlined,
.adults-icon,
.rsvp-card > .material-symbols-outlined,
.rsvp-modal-icon,
.bank-title > .material-symbols-outlined {
  color: #8f6f56;
}

.countdown-header > .material-symbols-outlined,
.slider-header > .material-symbols-outlined,
.adults-icon,
.rsvp-modal-icon {
  background: rgba(212, 187, 148, 0.22);
}

.dress-code-header > .material-symbols-outlined,
.bank-title > .material-symbols-outlined {
  background: #8f6f56;
}

.countdown-header p,
.blessing-overline,
.blessing-column strong,
.slider-header p,
.ceremony-info .eyebrow,
.party-info .eyebrow,
.dress-code-header p,
.adults-card p,
.registry-info .eyebrow,
.modal-heading p,
.rsvp-modal-panel p {
  color: var(--section-text-color, #8f6f56);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.countdown-header h3,
.slider-header h3,
.ceremony-info h3,
.party-info h3,
.dress-code-header h3,
.adults-card h3,
.registry-info h3,
.modal-heading h3,
.rsvp-modal-panel h3,
.rsvp-card h3 {
  color: var(--section-text-color, #2f2624);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
}

.countdown-header h3,
.slider-header h3,
.adults-card h3,
.registry-info h3 {
  font-size: 24px;
}

.ceremony-info h3,
.party-info h3 {
  font-size: 23px;
}

.dress-code-header h3,
.modal-heading h3,
.rsvp-modal-panel h3 {
  font-size: 26px;
}

.rsvp-card {
  color: var(--rsvp-text-color, #2f2624);
}

.rsvp-card h3 {
  color: var(--rsvp-text-color, #2f2624);
  font-size: 30px;
}

.rsvp-card p {
  color: var(--rsvp-muted-color, #6d5f5b);
  font-size: 15px;
  font-weight: 500;
}

.countdown-grid div,
.outfit-card,
.reply-actions button,
.gift-option,
.bank-option,
.party-address,
.ceremony-details > span,
.party-details > span,
.rsvp-options button {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(143, 111, 86, 0.14);
}

.countdown-grid strong,
.spotify-top,
.spotify-info p,
.spotify-link,
.maps-button,
.registry-button,
.reply-submit,
.passes-link {
  color: var(--section-button-text-color, #8f6f56);
}

.spotify-card {
  color: #2f2624;
}

.spotify-top {
  font-size: 10px;
  letter-spacing: 0.18em;
}

.spotify-info p {
  font-size: 10px;
  letter-spacing: 0.16em;
}

.spotify-info h3 {
  color: #2f2624;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  max-width: 100%;
}

.spotify-info span,
.countdown-note,
.dress-code-card > p,
.adults-card span,
.registry-info p:not(.eyebrow),
.modal-heading span,
.rsvp-modal-panel > span,
.ceremony-info > p:not(.eyebrow),
.party-info > p:not(.eyebrow),
.gift-option small,
.bank-title small {
  color: var(--section-text-color, #6a5c59);
}

.spotify-progress {
  background: rgba(143, 111, 86, 0.12);
}

.spotify-progress span {
  background: #b7926d;
}

.spotify-play,
.reply-actions button.active,
.camera-actions button,
.camera-actions button.is-recording,
.registry-button,
.reply-submit,
.passes-link,
.floating-passes-button,
.floating-audio-toggle,
.maps-button {
  color: var(--section-button-text-color, #fffaf3);
}

.spotify-play,
.reply-actions button.active,
.camera-actions button,
.floating-audio-toggle,
.registry-button,
.reply-submit,
.passes-link,
.floating-passes-button,
.maps-button {
  background: var(--section-button-color, var(--action-button-color));
}

.spotify-link {
  background: rgba(143, 111, 86, 0.1);
  color: #6f5444;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.maps-button,
.registry-button,
.reply-submit,
.passes-link,
.floating-passes-button,
.floating-audio-toggle {
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(92, 64, 44, 0.2);
}

@keyframes floating-passes-attention {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    box-shadow: 0 12px 24px rgba(92, 64, 44, 0.2);
  }

  45% {
    transform: translate3d(0, -4px, 0) scale(1.04);
    box-shadow: 0 18px 34px rgba(92, 64, 44, 0.3);
  }

  62% {
    transform: translate3d(0, 0, 0) scale(0.98);
  }
}

.floating-passes-button {
  min-width: 118px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: fixed;
  right: calc((100vw - min(100%, var(--app-width))) / 2 + 18px);
  bottom: calc(92px + env(safe-area-inset-bottom));
  z-index: 34;
  padding: 12px 18px;
  text-decoration: none;
  animation: floating-passes-attention 2200ms ease-in-out infinite;
}

.floating-passes-button[hidden] {
  display: none;
}

.floating-passes-button .material-symbols-outlined {
  font-size: 24px;
}

.floating-passes-button small {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.floating-audio-toggle {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  position: fixed;
  right: calc((100vw - min(100%, var(--app-width))) / 2 + 18px);
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 30;
  border: 0;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.floating-audio-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(92, 64, 44, 0.26);
}

.floating-audio-toggle .material-symbols-outlined {
  font-size: 26px;
}

.floating-audio-toggle.is-paused {
  background: linear-gradient(180deg, #c9b39c, #ad8f75);
}

@media (max-width: 540px) {
  .floating-passes-button {
    right: calc((100vw - min(100%, var(--app-width))) / 2 + 14px);
    bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .floating-audio-toggle {
    right: calc((100vw - min(100%, var(--app-width))) / 2 + 14px);
    bottom: calc(22px + env(safe-area-inset-bottom));
  }
}

.ceremony-badge,
.party-badge,
.registry-badge {
  background: rgba(255, 250, 243, 0.9);
  color: #8f6f56;
}

.rsvp-options button {
  border: 1px solid var(--rsvp-button-border-color, rgba(143, 111, 86, 0.14));
  color: var(--rsvp-text-color, #6f5444);
  font-size: 13px;
  letter-spacing: 0.1em;
}

.rsvp-options button.selected {
  background: var(--rsvp-button-color, #8f6f56);
  color: var(--rsvp-button-text-color, #fffaf3);
}

.rsvp-options i {
  border-color: rgba(143, 111, 86, 0.25);
}

.rsvp-options button.selected i {
  border-color: var(--rsvp-selected-ring-color, rgba(255, 250, 243, 0.6));
}

.rsvp-options button.selected i::after {
  background: var(--rsvp-button-text-color, #fffaf3);
}

.rsvp-modal-panel,
.registry-modal-panel {
  background: var(--modal-surface-background, linear-gradient(180deg, #fffdf9, #f8f2eb));
  background-image: var(--modal-surface-image, var(--modal-surface-background, linear-gradient(180deg, #fffdf9, #f8f2eb)));
  background-position: var(--modal-surface-position, center center);
  background-size: var(--modal-surface-size, cover);
  background-repeat: var(--modal-surface-repeat, no-repeat);
}

.modal-close {
  background: rgba(143, 111, 86, 0.1);
  color: #8f6f56;
}

.video-reply-field {
  border: 1px dashed rgba(143, 111, 86, 0.32);
  background: rgba(255, 255, 255, 0.55);
  color: #8f6f56;
}

.gift-option > .material-symbols-outlined {
  color: #8f6f56;
}

.bank-option {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(143, 111, 86, 0.14);
}

/* Compact event cards */
.party-card,
.registry-card {
  overflow: hidden;
  border: 1px solid rgba(143, 111, 86, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.94), rgba(250, 241, 234, 0.82)),
    var(--card-surface-image);
  box-shadow: 0 16px 30px rgba(80, 52, 36, 0.08);
}

.party-photo,
.registry-media {
  height: clamp(210px, 56vw, 300px);
  margin: 12px 12px 0;
  border-radius: 18px;
  background: #eee4dc;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

.registry-media {
  height: clamp(176px, 46vw, 238px);
}

.party-photo img,
.registry-media img {
  object-position: center 42%;
}

.party-photo::after,
.registry-media::after {
  background:
    linear-gradient(180deg, rgba(42, 28, 24, 0.16), transparent 44%),
    linear-gradient(to top, rgba(42, 28, 24, 0.22), transparent 52%);
}

.torna-photo::after {
  background:
    linear-gradient(180deg, rgba(116, 72, 34, 0.14), transparent 44%),
    linear-gradient(to top, rgba(83, 51, 20, 0.24), transparent 55%);
}

.party-badge,
.registry-badge {
  left: 12px;
  top: 12px;
  bottom: auto;
  max-width: calc(100% - 24px);
  justify-content: flex-start;
  padding: 7px 10px;
  transform: none;
  border: 1px solid rgba(255, 255, 255, 0.54);
  background: rgba(255, 250, 243, 0.88);
  color: #8f6f56;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 20px rgba(42, 28, 24, 0.12);
}

.party-badge .material-symbols-outlined,
.registry-badge .material-symbols-outlined {
  font-size: 16px;
}

.party-card.has-no-photo .party-photo {
  padding: 12px 12px 0;
}

.party-card.has-no-photo .party-badge {
  margin-inline: 0;
}

.party-info,
.registry-info {
  padding: 14px 16px 16px;
  text-align: left;
}

.party-info .eyebrow,
.registry-info .eyebrow {
  margin-bottom: 5px;
  letter-spacing: 0.14em;
}

.party-info h3,
.registry-info h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.08;
}

.party-details {
  justify-content: flex-start;
  gap: 7px;
  margin-bottom: 10px;
}

.party-details > span {
  max-width: 100%;
  min-height: 32px;
  padding: 7px 9px;
  font-size: 11px;
  line-height: 1.25;
}

.party-details .material-symbols-outlined {
  font-size: 16px;
}

.party-info > p:not(.eyebrow),
.registry-info p:not(.eyebrow) {
  margin-bottom: 12px;
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.party-address {
  padding: 9px 10px;
  border-radius: 12px;
  font-size: 11px;
  line-height: 1.35;
}

.party-info .maps-button,
.registry-button {
  width: auto;
  max-width: 100%;
  min-height: 38px;
  display: inline-flex;
  padding: 10px 13px;
  font-size: 10px;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 20px rgba(92, 64, 44, 0.16);
}

.registry-options {
  justify-items: start;
}

/* Corner ornaments disabled; decorative dividers remain active. */

.blessing-grid,
.countdown-header,
.countdown-grid,
.countdown-note,
.dress-code-header,
.dress-code-visual,
.color-palette,
.dress-code-card > p,
.adults-card > div,
.rsvp-card > .material-symbols-outlined,
.rsvp-card h3,
.rsvp-card p,
.rsvp-options,
.registry-media,
.registry-info {
  position: relative;
  z-index: 1;
}


.bottom-nav {
  bottom: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 4px;
  padding: 12px 14px max(16px, env(safe-area-inset-bottom));
  border-top: 1px solid #eeeeee;
  border-radius: 24px 24px 0 0;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 -10px 30px rgba(225, 48, 108, 0.14);
  backdrop-filter: blur(20px);
}

.launched-element-layer {
  width: min(100%, var(--app-width));
  height: 168px;
  position: fixed;
  left: 50%;
  bottom: calc(52px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 19;
  pointer-events: none;
  overflow: visible;
  contain: layout paint;
}

.launched-element-border,
.launched-element-burst {
  position: absolute;
  inset: 0;
}

.launched-petal {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: var(--petal-size, 76px);
  aspect-ratio: 1 / 1;
  background: var(--launched-element-image) center center / contain no-repeat;
  opacity: var(--petal-opacity, 0.9);
  transform: translateX(-50%) rotate(var(--petal-rotate, 0deg)) scale(var(--petal-scale, 1));
  filter: drop-shadow(0 10px 14px rgba(113, 66, 73, 0.12));
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.launched-element-border .launched-petal {
  left: var(--petal-left, 50%);
  bottom: var(--petal-bottom, 0px);
  animation: launched-petal-idle var(--petal-duration, 7.4s) ease-in-out infinite alternate;
  animation-delay: var(--petal-delay, 0s);
}

.launched-element-burst .launched-petal {
  left: var(--petal-origin-x, 50%);
  bottom: var(--petal-origin-y, 24px);
  opacity: 0;
  filter: none;
  animation: launched-petal-burst var(--petal-flight, 1800ms) cubic-bezier(0.2, 0.78, 0.16, 1) forwards;
}

@keyframes launched-petal-idle {
  0% {
    transform: translateX(-50%) translateY(0) rotate(var(--petal-rotate, 0deg)) scale(var(--petal-scale, 1));
  }

  100% {
    transform: translateX(-50%) translateY(-5px) rotate(calc(var(--petal-rotate, 0deg) + 4deg)) scale(var(--petal-scale, 1));
  }
}

@keyframes launched-petal-burst {
  0% {
    opacity: 0;
    transform: translateX(-50%) translate3d(0, 0, 0) rotate(var(--petal-rotate, 0deg)) scale(var(--petal-scale, 1));
  }

  10% {
    opacity: var(--petal-opacity, 0.9);
  }

  100% {
    opacity: 0;
    transform:
      translateX(-50%)
      translate3d(var(--petal-drift-x, 0px), calc(var(--petal-rise, -110px) * 1), 0)
      rotate(calc(var(--petal-rotate, 0deg) + var(--petal-spin, 120deg)))
      scale(calc(var(--petal-scale, 1) * 0.92));
  }
}

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

  .reveal-on-scroll,
  .hero-copy .motion-child,
  .event-date-card .motion-child,
  .ceremony-info .motion-child,
  .party-info .motion-child,
  .registry-info .motion-child,
  .countdown-card .motion-child,
  .itinerary-card .motion-child,
  .spotify-card .motion-child,
  .dress-code-card .motion-child,
  .adults-card .motion-child,
  .rsvp-card .motion-child {
    opacity: 1 !important;
    transform: none !important;
  }

  .scroll-depth > img[data-demo-cover],
  .scroll-depth video {
    transform: none !important;
  }

  .launched-element-burst .launched-petal,
  .launched-element-border .launched-petal {
    animation: none !important;
  }

  .couple-slider-card.is-visible,
  .couple-slider-card.is-visible .slider-header,
  .couple-slider-card.is-visible .couple-slider::after,
  .couple-slider-card.is-visible .slider-track img.is-active,
  .itinerary-card.is-visible .itinerary-list::before,
  .itinerary-card.is-visible .itinerary-item,
  .itinerary-card.is-visible .itinerary-item::after,
  .event-date-card.is-visible,
  .event-date-card.is-visible::after,
  .event-date-card.is-visible .event-date-weekday,
  .event-date-card.is-visible .event-date-divider,
  .event-date-card.is-visible .event-date-center span,
  .event-date-card.is-visible .event-date-center strong,
  .event-date-card.is-visible .event-date-time,
  .hero-post.is-ready.is-visible > img[data-demo-cover],
  .hero-post.is-visible .hero-overlay,
  .hero-post.is-visible .hero-overlay::after,
  .hero-post.is-visible .hero-copy::before,
  .hero-post.is-visible .hero-copy .motion-child,
  .hero-post.is-visible .hero-copy h2,
  body.arriving-from-cover .app-shell {
    animation: none !important;
  }

  .itinerary-list::before {
    transform: translateX(-50%) scaleY(1);
  }

  .itinerary-item {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .event-date-weekday,
  .event-date-time,
  .event-date-center span,
  .event-date-center strong,
  .event-date-divider {
    opacity: 1;
  }

  .hero-copy::before {
    transform: scaleX(1);
  }
}

@media (max-width: 560px) {
  .portrait-triptych-card {
    margin: 0 16px;
    padding: 14px 10px 18px;
    border-radius: 24px;
  }

  .portrait-triptych-grid {
    grid-template-columns: 1fr 1.06fr 1fr;
    gap: 9px;
  }

  .triptych-photo-card {
    min-height: 360px;
    border-radius: 14px;
  }

  .countdown-card.shape-arch-card,
  .blessing-card.shape-arch-card,
  .registry-card.shape-arch-card {
    border-radius: 20px;
  }

  .couple-slider-card.shape-cut-card,
  .dress-code-card.shape-cut-card {
    clip-path: none;
    border-radius: 20px;
  }

  .adults-card.shape-ticket-card::before,
  .adults-card.shape-ticket-card::after,
  .rsvp-card.shape-ticket-card::before,
  .rsvp-card.shape-ticket-card::after {
    display: none;
  }
}

.bottom-nav button {
  min-width: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 14px;
  color: #999;
}

.bottom-nav button.active {
  background: var(--primary-soft);
  color: #e0005a;
}

.bottom-nav small {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 360px) {
  .entry-content {
    padding-inline: 18px;
  }

  .entry-nav {
    padding-inline: 18px;
  }

  .wax-seal {
    width: 68px;
    height: 68px;
  }

  .wax-seal span {
    font-size: 20px;
  }

  .top-bar {
    padding-inline: 12px;
  }

  .section-tabs {
    gap: 12px;
  }

  .hero-post {
    min-height: 500px;
  }

  .hero-copy {
    padding-inline: 20px;
  }

  .hero-copy h2 {
    font-size: 40px;
  }

  .venue-card,
  .blessing-card,
  .itinerary-card,
  .rsvp-card,
  .event-date-card,
  .countdown-card,
  .video-message-card,
  .spotify-card,
  .couple-slider-card,
  .dress-code-card,
  .adults-card {
    margin-inline: 14px;
  }

  .video-message-copy {
    padding-inline: 18px;
  }

  .rebuilt-video-card {
    margin-inline: 14px;
  }

  .brand-contact-card {
    margin-inline: 14px;
  }

  .rebuilt-video-card .video-message-copy {
    padding-inline: 0;
  }

  .bottom-nav {
    padding-inline: 8px;
  }

  .bottom-nav button {
    min-width: 50px;
    padding-inline: 7px;
  }

  .launched-element-layer {
    height: 148px;
    bottom: calc(50px + env(safe-area-inset-bottom));
  }
}

/* Invitation 2 visual editor */
.visual-editor-ready {
  --editor-width: 380px;
  --preview-width: calc(100vw - var(--editor-width));
  --preview-frame-width: min(var(--preview-width), calc(100vw - var(--editor-width) - 28px));
  background:
    radial-gradient(circle at 16% 10%, rgba(183, 0, 79, 0.09), transparent 26%),
    radial-gradient(circle at 86% 22%, rgba(20, 132, 134, 0.1), transparent 28%),
    #f6f1eb;
}

.visual-editor-ready .mobile-entry-modal {
  width: 100%;
  height: min(720px, calc(100vh - 120px));
  min-height: 620px;
  position: relative;
  inset: auto;
  left: auto;
  display: block;
  transform: none;
  overflow: hidden;
}

.visual-editor-ready .mobile-entry-modal[data-editor-selected] {
  outline: 2px solid rgba(183, 0, 79, 0.32);
  outline-offset: -2px;
}

.editor-form[data-editor-section="envelope"] > fieldset:nth-of-type(1),
.editor-form[data-editor-section="envelope"] > fieldset:nth-of-type(2),
.editor-form[data-editor-section="envelope"] > fieldset:nth-of-type(3) {
  display: none;
}

[data-envelope-motion-controls] {
  display: none;
}

.editor-form[data-editor-section="envelope"] [data-envelope-motion-controls] {
  display: block;
}

.editor-field-hint {
  display: block;
  margin-top: -4px;
  color: #8b7c75;
  font-size: 0.78rem;
  line-height: 1.35;
}

.visual-editor-ready .app-shell {
  margin-left: var(--editor-width);
  width: calc(100% - var(--editor-width));
  padding-top: 66px;
}

.published-invitation.visual-editor-ready {
  --editor-width: 0px;
  --preview-width: min(100%, var(--app-width));
  --preview-frame-width: min(100%, var(--app-width));
}

.published-invitation.visual-editor-ready .app-shell {
  width: min(100%, var(--app-width));
  margin-left: 0;
  padding-top: 0;
}

.visual-editor-ready[data-preview-viewport="desktop"] {
  --preview-width: min(100%, 1180px);
  --preview-frame-width: min(var(--preview-width), calc(100vw - var(--editor-width) - 28px));
}

.visual-editor-ready[data-preview-viewport="tablet"] {
  --preview-width: 768px;
  --preview-frame-width: min(var(--preview-width), calc(100vw - var(--editor-width) - 28px));
}

.visual-editor-ready[data-preview-viewport="mobile"] {
  --preview-width: var(--app-width);
  --preview-frame-width: min(var(--app-width), calc(100vw - var(--editor-width) - 28px));
}

.visual-editor-ready .top-bar,
.visual-editor-ready [data-public-content],
.visual-editor-ready .bottom-nav {
  width: var(--preview-frame-width);
  margin-inline: auto;
}

.visual-editor-ready .top-bar,
.visual-editor-ready .bottom-nav {
  left: calc(var(--editor-width) + ((100vw - var(--editor-width)) / 2));
  transform: translateX(-50%);
  z-index: 120;
}

.published-invitation.visual-editor-ready .top-bar,
.published-invitation.visual-editor-ready .bottom-nav {
  left: 50%;
}

.visual-editor-ready .top-bar {
  top: 66px;
}

.published-invitation.visual-editor-ready .top-bar {
  top: 0;
}

.visual-editor-ready .bottom-nav {
  right: auto;
  bottom: 14px;
  border-radius: 22px 22px 0 0;
}

.published-invitation.visual-editor-ready .bottom-nav {
  bottom: 0;
}

.visual-editor-ready .floating-audio-toggle {
  right: auto;
  left: calc(var(--editor-width) + ((100vw - var(--editor-width)) / 2) + (var(--preview-frame-width) / 2) - 72px);
}

.visual-editor-ready .floating-passes-button {
  right: auto;
  left: calc(var(--editor-width) + ((100vw - var(--editor-width)) / 2) + (var(--preview-frame-width) / 2) - 142px);
}

.published-invitation.visual-editor-ready .floating-audio-toggle {
  right: calc((100vw - min(100%, var(--app-width))) / 2 + 18px);
  left: auto;
  bottom: calc(24px + env(safe-area-inset-bottom));
}

.published-invitation.visual-editor-ready .floating-passes-button {
  right: calc((100vw - min(100%, var(--app-width))) / 2 + 18px);
  left: auto;
}

.visual-editor-ready .rsvp-modal,
.visual-editor-ready .registry-modal {
  width: min(var(--preview-width), calc(100vw - var(--editor-width) - 28px));
  left: calc(var(--editor-width) + ((100vw - var(--editor-width)) / 2));
  right: auto;
  transform: translateX(-50%);
  z-index: 160;
  padding: 18px;
  overflow-y: auto;
}

.published-invitation.visual-editor-ready .rsvp-modal,
.published-invitation.visual-editor-ready .registry-modal {
  width: min(100%, var(--app-width));
  left: 50%;
}

.visual-editor-ready .rsvp-modal-panel,
.visual-editor-ready .registry-modal-panel {
  width: min(100%, 440px);
  max-height: calc(100vh - 120px);
  margin-inline: auto;
}

.visual-editor-ready .registry-modal-panel {
  width: min(100%, 460px);
}

.visual-editor-ready .rsvp-choice-panel {
  width: min(100%, var(--app-width));
}

.visual-editor-ready [data-public-content] {
  border-inline: 1px solid rgba(47, 42, 41, 0.1);
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 18px 50px rgba(48, 34, 28, 0.1);
  padding-bottom: 72px;
  overflow-x: hidden;
}

.published-invitation.visual-editor-ready [data-public-content] {
  max-height: none;
  overflow-y: visible;
}

.visual-editor-ready[data-preview-viewport="tablet"] [data-public-content],
.visual-editor-ready[data-preview-viewport="mobile"] [data-public-content] {
  max-height: calc(100vh - 92px);
  overflow-y: auto;
  overflow-x: hidden;
}

.visual-editor-ready[data-preview-viewport="mobile"] .top-bar,
.visual-editor-ready[data-preview-viewport="mobile"] [data-public-content],
.visual-editor-ready[data-preview-viewport="mobile"] .bottom-nav {
  width: var(--preview-frame-width);
}

.visual-editor-ready[data-preview-viewport="mobile"] .rsvp-modal,
.visual-editor-ready[data-preview-viewport="mobile"] .registry-modal {
  width: min(var(--app-width), calc(100vw - var(--editor-width) - 28px));
}

.preview-toolbar {
  position: fixed;
  top: 12px;
  left: calc(var(--editor-width) + ((100vw - var(--editor-width)) / 2));
  z-index: 82;
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(47, 42, 41, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.94);
  box-shadow: 0 14px 34px rgba(48, 34, 28, 0.12);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.preview-toolbar button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: #75655f;
  background: transparent;
  cursor: pointer;
}

.preview-toolbar button.active {
  color: #fff;
  background: #2f2a29;
}

.preview-toolbar button.is-syncing .material-symbols-outlined {
  animation: sync-spin 760ms linear infinite;
}

.preview-toolbar .material-symbols-outlined {
  font-size: 1.25rem;
}

@keyframes sync-spin {
  to {
    transform: rotate(360deg);
  }
}

.visual-editor-ready .section-divider {
  display: none !important;
}

.visual-editor-ready .feed {
  gap: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-items: stretch;
  overflow-x: clip;
}

.visual-editor-ready .feed > [data-demo-section]:not([data-editor-spacing]) {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  overflow-x: clip;
}

.visual-editor-ready .envelope-card.entry-screen,
.visual-editor-ready .envelope-card.entry-screen .entry-content,
.visual-editor-ready .envelope-card.entry-screen .envelope-stage,
.visual-editor-ready .envelope-card.entry-screen .envelope {
  max-width: 100%;
  min-width: 0;
}

.decoration-card {
  display: block;
  position: relative;
  z-index: var(--editor-z-index, 12);
  height: 0;
  min-height: 0;
  margin-inline: auto;
  padding: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

.decoration-card[hidden] {
  display: none !important;
}

.decoration-media {
  position: absolute;
  left: 50%;
  top: 0;
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  pointer-events: none;
  transform: translate(
    calc(-50% + var(--decoration-anchor-x-correction, 0px)),
    calc(((var(--editor-overlap, 0) + var(--editor-media-y, 0)) * 1px) + var(--decoration-anchor-correction, 0px))
  );
}

.decoration-media img {
  width: auto;
  max-width: none;
  height: calc(var(--editor-image-size, 160) * 1px);
  max-height: none;
  object-fit: contain;
  opacity: calc(var(--editor-opacity, 100) / 100);
  pointer-events: auto;
  transform: translateX(var(--editor-media-offset-x, 0px)) rotate(var(--editor-media-rotate, 0deg)) scaleX(var(--editor-media-scale-x, 1));
  transform-origin: center center;
}

.decoration-media img[hidden] {
  display: none;
}

.visual-editor-ready .decoration-card[data-editor-selected="true"] .decoration-media img {
  cursor: move;
  touch-action: none;
}

.decoration-direct-frame {
  position: absolute;
  z-index: 40;
  box-sizing: border-box;
  border: 2px dashed rgba(0, 166, 166, 0.9);
  border-radius: 8px;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(var(--decoration-direct-rotate, 0deg));
  transform-origin: center center;
  filter: drop-shadow(0 8px 18px rgba(24, 20, 18, 0.16));
}

.decoration-direct-frame[hidden] {
  display: none !important;
}

.decoration-direct-frame::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 12px;
  background: rgba(0, 166, 166, 0.06);
}

.decoration-direct-handle {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #00a6a6;
  color: #fff;
  box-shadow: 0 10px 24px rgba(28, 18, 14, 0.22);
  pointer-events: auto;
  cursor: pointer;
  touch-action: none;
}

.decoration-direct-handle .material-symbols-outlined {
  color: inherit !important;
  font-size: 18px;
  line-height: 1;
}

.decoration-direct-handle-rotate {
  left: 50%;
  top: -52px;
  transform: translateX(-50%);
  cursor: grab;
}

.decoration-direct-handle-rotate::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 30px;
  width: 2px;
  height: 22px;
  background: rgba(0, 166, 166, 0.82);
  transform: translateX(-50%);
}

.decoration-direct-handle-scale {
  right: -18px;
  bottom: -18px;
  cursor: nwse-resize;
}

.decoration-direct-handle-delete {
  top: -18px;
  right: -18px;
  background: #b7004f;
}

.decoration-direct-handle-delete .material-symbols-outlined {
  font-size: 20px;
}

.decoration-direct-handle-duplicate {
  top: -18px;
  left: -18px;
  background: #51433e;
}

.decoration-direct-handle-replace {
  left: -18px;
  bottom: -18px;
  background: #0e5261;
}

.decoration-card.is-decoration-direct-active .decoration-direct-frame {
  border-style: solid;
  border-color: #b7004f;
}

.decoration-card.is-decoration-direct-active .decoration-direct-handle:not(.decoration-direct-handle-delete):not(.decoration-direct-handle-duplicate):not(.decoration-direct-handle-replace) {
  background: #b7004f;
}

body.is-decoration-direct-dragging,
body.is-decoration-direct-dragging * {
  user-select: none;
}

.visual-editor-ready [data-demo-section] {
  cursor: pointer;
  transition:
    box-shadow 180ms ease,
    outline-color 180ms ease,
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-radius 180ms ease;
}

.visual-editor-ready [data-demo-section]:hover {
  outline: 2px solid rgba(183, 0, 79, 0.28);
  outline-offset: 5px;
}

.visual-editor-ready [data-editor-selected="true"] {
  outline: 3px solid #00a6a6;
  outline-offset: 7px;
  box-shadow: 0 24px calc(var(--editor-shadow, 18) * 1px) rgba(28, 18, 14, 0.16);
}

.visual-editor-ready .hero-post[data-editor-selected="true"] .hero-copy,
.visual-editor-ready .hero-post[data-editor-selected="true"] [data-cover-title],
.visual-editor-ready .hero-post[data-editor-selected="true"] [data-cover-names],
.visual-editor-ready .hero-post[data-editor-selected="true"] .hero-message,
.visual-editor-ready .hero-post[data-editor-selected="true"] .cover-name-line-first {
  touch-action: none;
}

.visual-editor-ready .hero-post[data-editor-selected="true"] .hero-copy,
.visual-editor-ready .hero-post[data-editor-selected="true"] [data-cover-title],
.visual-editor-ready .hero-post[data-editor-selected="true"] [data-cover-names],
.visual-editor-ready .hero-post[data-editor-selected="true"] .cover-name-line-first,
.visual-editor-ready .hero-post[data-editor-selected="true"] .hero-message {
  cursor: grab;
}

.visual-editor-ready .hero-post[data-editor-selected="true"] .is-cover-direct-active {
  outline: 2px dashed rgba(255, 255, 255, 0.82);
  outline-offset: 6px;
}

.visual-editor-ready .hero-post[data-editor-selected="true"] .cover-name-line-first.is-cover-direct-active {
  outline-offset: 4px;
}

body.is-cover-direct-dragging,
body.is-cover-direct-dragging * {
  user-select: none;
}

.visual-editor-ready .envelope-card.entry-screen {
  width: 100%;
  max-width: 100%;
  min-height: clamp(760px, calc(100vh - 140px), 980px);
  position: relative;
  top: auto;
  left: auto;
  z-index: 1;
  transform: none;
  box-shadow: none;
}

.visual-editor-ready .envelope-card.entry-screen .entry-content {
  min-height: inherit;
  padding: 0;
}

.visual-editor-ready .envelope-card.entry-screen .entry-copy h2 {
  font-size: clamp(15px, 4vw, 22px);
}

.visual-editor-ready .envelope-card.entry-screen .envelope-stage {
  width: calc(100% - (var(--editor-padding-x, 10) * 2px));
  max-width: none;
  margin: auto;
}

.visual-editor-ready .envelope-card.entry-screen .entry-footer {
  gap: 16px;
}

.visual-editor-ready .editor-panel {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 80;
  width: var(--editor-width);
  overflow-y: auto;
  border-right: 1px solid rgba(47, 42, 41, 0.12);
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 18px 0 44px rgba(48, 34, 28, 0.12);
  backdrop-filter: blur(18px);
  padding: 18px;
  overflow-x: hidden;
}

.editor-resize-handle {
  position: fixed;
  top: 0;
  left: calc(var(--editor-width) - 4px);
  z-index: 95;
  width: 8px;
  height: 100vh;
  cursor: ew-resize;
  background: transparent;
}

.editor-resize-handle::after {
  content: "";
  position: absolute;
  inset: 0 2px;
  background: rgba(143, 111, 86, 0.18);
  opacity: 0;
  transition: opacity 160ms ease;
}

.editor-resize-handle:hover::after,
body.is-resizing-editor .editor-resize-handle::after {
  opacity: 1;
}

.editor-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0 18px;
  border-bottom: 1px solid rgba(47, 42, 41, 0.1);
}

.editor-panel-header > .material-symbols-outlined {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #b7004f, #00a6a6);
}

.editor-panel-header p,
.editor-panel-header strong {
  margin: 0;
}

.editor-panel-header p {
  color: #8f6f56;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.editor-panel-header strong {
  display: block;
  margin-top: 3px;
  color: #211b19;
  font-size: 1rem;
  line-height: 1.2;
}

.editor-empty {
  display: grid;
  gap: 12px;
  place-items: center;
  min-height: 220px;
  color: #75655f;
  text-align: center;
}

.editor-empty .material-symbols-outlined {
  color: #b7004f;
  font-size: 2.3rem;
}

.editor-empty p {
  margin: 0;
  max-width: 220px;
  line-height: 1.5;
}

.editor-form {
  display: grid;
  gap: 18px;
  padding-top: 18px;
}

.editor-form fieldset {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0 0 18px;
  border: 0;
  border-bottom: 1px solid rgba(47, 42, 41, 0.1);
}

.editor-form legend {
  margin-bottom: 2px;
  color: #211b19;
  font-size: 0.88rem;
  font-weight: 800;
}

.editor-fieldset-intro {
  margin: -2px 0 4px;
  color: #7a6a63;
  font-size: 0.78rem;
  line-height: 1.45;
}

.editor-form label {
  display: grid;
  grid-template-columns: minmax(108px, 1fr) minmax(0, 168px);
  align-items: center;
  gap: 12px;
  color: #51433e;
  font-size: 0.82rem;
  font-weight: 700;
}

.editor-form input[type="color"] {
  width: 44px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(47, 42, 41, 0.18);
  border-radius: 8px;
  background: transparent;
}

.editor-form input[type="file"] {
  width: 100%;
  min-width: 0;
  font-size: 0.74rem;
}

.editor-form select {
  min-width: 132px;
  border: 1px solid rgba(47, 42, 41, 0.16);
  border-radius: 8px;
  background: #fff;
  color: #211b19;
  font: 700 0.78rem/1.2 "Plus Jakarta Sans", sans-serif;
  padding: 8px 9px;
}

.editor-form input[type="range"] {
  width: 100%;
  accent-color: #b7004f;
}

.editor-range-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.editor-range-value {
  min-width: 44px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(183, 0, 79, 0.08);
  color: #9f0046;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.editor-subsection-title {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(47, 42, 41, 0.08);
  color: #211b19;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editor-form [data-cover-layout-controls] {
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(47, 42, 41, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 239, 0.9)),
    #fff;
  box-shadow: 0 14px 34px rgba(47, 42, 41, 0.06);
}

.editor-form [data-cover-layout-controls] legend {
  margin-bottom: 0;
}

.editor-form [data-cover-layout-controls] label {
  grid-template-columns: minmax(112px, 1fr) minmax(0, 160px);
  min-height: 36px;
}

.editor-section-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: #211b19;
  font-size: 0.9rem;
  font-weight: 800;
}

.editor-section-heading .material-symbols-outlined {
  color: #b7004f;
  font-size: 1.2rem;
}

.editor-card-manager {
  display: grid;
  gap: 12px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(47, 42, 41, 0.1);
}

.editor-card-list {
  display: grid;
  gap: 8px;
  max-height: 238px;
  overflow-y: auto;
  padding-right: 4px;
}

.editor-card-toggle {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid rgba(47, 42, 41, 0.1);
  border-radius: 8px;
  background: #fffaf4;
  color: #51433e;
  font-size: 0.78rem;
  font-weight: 800;
}

.editor-card-toggle input {
  accent-color: #b7004f;
}

.editor-card-toggle button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  color: #75655f;
  background: #efe4da;
  cursor: pointer;
}

.editor-text-list {
  display: grid;
  gap: 12px;
}

.editor-text-item {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(47, 42, 41, 0.1);
  border-radius: 8px;
  background: #fffaf4;
}

.editor-itinerary-controls {
  display: flex;
  justify-content: flex-end;
}

.editor-itinerary-add,
.editor-itinerary-move,
.editor-itinerary-remove {
  border: 1px solid rgba(47, 42, 41, 0.16);
  border-radius: 8px;
  background: #fff;
  color: #211b19;
  font: 700 0.78rem/1.2 "Plus Jakarta Sans", sans-serif;
}

.editor-itinerary-add {
  min-height: 38px;
  padding: 0 12px;
}

.editor-itinerary-remove {
  width: 34px;
  height: 34px;
}

.editor-itinerary-move {
  width: 34px;
  height: 34px;
}

.editor-itinerary-move:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.editor-itinerary-group {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(47, 42, 41, 0.1);
  border-radius: 8px;
  background: #fffaf4;
}

.editor-itinerary-group-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.editor-itinerary-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.editor-text-heading {
  color: #211b19;
  font-size: 0.82rem;
  font-weight: 800;
}

.editor-text-section {
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f6efe8;
  color: #8f6f56;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.editor-media-list {
  display: grid;
  gap: 14px;
}

.editor-gallery-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.editor-add-media-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px dashed rgba(183, 0, 79, 0.36);
  border-radius: 8px;
  background: #fff4f8;
  color: #b7004f;
  font: 800 0.82rem/1 "Plus Jakarta Sans", sans-serif;
  cursor: pointer;
}

.editor-add-media-button span {
  font-size: 20px;
}

.editor-clear-gallery-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(47, 42, 41, 0.12);
  border-radius: 8px;
  background: #fff;
  color: #65534d;
  font: 800 0.78rem/1 "Plus Jakarta Sans", sans-serif;
  cursor: pointer;
}

.editor-clear-gallery-button span {
  font-size: 18px;
}

.editor-media-item {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(47, 42, 41, 0.1);
  border-radius: 8px;
  background: #fffaf4;
}

.editor-media-item-cover-text {
  border-color: rgba(18, 108, 129, 0.28);
  background:
    linear-gradient(180deg, rgba(228, 248, 250, 0.78), rgba(246, 252, 249, 0.96));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

.editor-media-item-cover-text .editor-media-title {
  color: #0e5261;
}

.editor-media-item-cover-text .editor-media-row > span,
.editor-media-item-cover-text .editor-media-file-meta small {
  color: #266b72;
}

.editor-media-item-cover-text input[type="range"] {
  accent-color: #0f8ea0;
}

.editor-media-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #211b19;
  font-size: 0.82rem;
  font-weight: 800;
}

.editor-media-title span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.editor-media-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #51433e;
  font-size: 0.76rem;
}

.editor-media-list input[type="url"],
.editor-media-list input[type="file"],
.editor-media-list select {
  width: 100%;
  border: 1px solid rgba(47, 42, 41, 0.16);
  border-radius: 8px;
  background: #fff;
  color: #211b19;
  font: 600 0.8rem/1.2 "Plus Jakarta Sans", sans-serif;
  padding: 9px 10px;
}

.editor-media-row {
  display: grid;
  gap: 7px;
}

.editor-media-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.editor-media-check input[type="checkbox"] {
  margin: 0;
}

.editor-media-row > span {
  color: #75655f;
  font-size: 0.74rem;
  font-weight: 800;
}

.editor-media-file-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.editor-media-file-meta small {
  color: #75655f;
  font-size: 0.74rem;
  line-height: 1.3;
  word-break: break-word;
}

.editor-media-clear {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(47, 42, 41, 0.16);
  border-radius: 8px;
  background: #fff;
  color: #51433e;
  font: 700 0.76rem/1 "Plus Jakarta Sans", sans-serif;
  cursor: pointer;
}

.editor-media-clear:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.editor-empty-note {
  margin: 0;
  color: #75655f;
  font-size: 0.82rem;
  line-height: 1.45;
}

.editor-text-list label,
.editor-text-item label {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  color: #51433e;
  font-size: 0.78rem;
  font-weight: 800;
}

.editor-text-list textarea {
  width: 100%;
  min-height: 72px;
  resize: vertical;
  border: 1px solid rgba(47, 42, 41, 0.16);
  border-radius: 8px;
  background: #fff;
  color: #211b19;
  font: 500 0.84rem/1.45 "Plus Jakarta Sans", sans-serif;
  padding: 10px;
}

.editor-text-item select {
  width: 100%;
  min-width: 0;
}

.editor-text-item input[type="range"] {
  width: 100%;
}

.editor-actions {
  display: grid;
  gap: 10px;
}

.editor-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #2f2a29;
  font-weight: 800;
  cursor: pointer;
}

.editor-actions button:last-child {
  color: #2f2a29;
  background: #efe4da;
}

.editor-save-status {
  min-height: 18px;
  margin: -2px 0 0;
  color: #75655f;
  font-size: 0.76rem;
  font-weight: 700;
}

.editor-save-status[data-state="saving"] {
  color: #8f6f56;
}

.editor-save-status[data-state="saved"] {
  color: #0f8a6d;
}

.editor-save-status[data-state="error"] {
  color: #b42318;
}

[data-editor-bg] {
  background: var(--editor-bg) !important;
  background-image: none !important;
}

[data-editor-bg-none] {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

[data-editor-gradient] {
  background: linear-gradient(calc(var(--editor-gradient-angle, 135) * 1deg), var(--editor-gradient-start), var(--editor-gradient-end)) !important;
  background-image: linear-gradient(calc(var(--editor-gradient-angle, 135) * 1deg), var(--editor-gradient-start), var(--editor-gradient-end)) !important;
}

[data-editor-texture] {
  background: var(--editor-texture-image) center center / var(--editor-texture-size, cover) var(--editor-texture-repeat, no-repeat) !important;
  background-image: var(--editor-texture-image) !important;
  background-position: center center !important;
  background-size: var(--editor-texture-size, cover) !important;
  background-repeat: var(--editor-texture-repeat, no-repeat) !important;
}

[data-editor-color] {
  color: var(--editor-color) !important;
}

[data-editor-accent] {
  --primary: var(--editor-accent);
}

[data-editor-radius] {
  border-radius: calc(var(--editor-radius, 24) * 1px) !important;
}

[data-editor-spacing] {
  position: relative !important;
  top: calc(var(--editor-margin-top, 0) * 1px) !important;
  z-index: var(--editor-z-index, auto) !important;
  width: calc(var(--editor-card-width, 100) * 1%) !important;
  align-self: center !important;
  padding: calc(var(--editor-padding-top, var(--editor-padding-y, 28)) * 1px) calc(var(--editor-padding-x, 28) * 1px) calc(var(--editor-padding-bottom, var(--editor-padding-y, 28)) * 1px) !important;
  margin-top: 0 !important;
  margin-bottom: calc((var(--editor-margin-top, 0) + var(--editor-margin-bottom, 0)) * 1px) !important;
}

.hero-post[data-editor-spacing] {
  width: 100% !important;
  max-width: none !important;
  align-self: stretch !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.hero-post > img[data-demo-cover] {
  z-index: 0;
}

.hero-overlay {
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 2 !important;
}

[data-decoration-layer][data-editor-spacing] {
  top: 0 !important;
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: calc(var(--editor-margin-bottom, 0) * 1px) !important;
}

@media (max-width: 900px) {
  .visual-editor-ready {
    --editor-width: 100%;
    --preview-width: 100%;
    --preview-frame-width: min(var(--preview-width), calc(100vw - 20px));
  }

  .published-invitation.visual-editor-ready {
    --editor-width: 0px;
    --preview-width: min(100%, var(--app-width));
    --preview-frame-width: min(100%, var(--app-width));
  }

  .visual-editor-ready .app-shell {
    margin-left: 0;
    width: 100%;
    padding-top: 394px;
  }

  .published-invitation.visual-editor-ready .app-shell {
    width: min(100%, var(--app-width));
    padding-top: 0;
  }

  .visual-editor-ready .top-bar,
  .visual-editor-ready [data-public-content],
  .visual-editor-ready .bottom-nav,
  .visual-editor-ready[data-preview-viewport="mobile"] .top-bar,
  .visual-editor-ready[data-preview-viewport="mobile"] [data-public-content],
  .visual-editor-ready[data-preview-viewport="mobile"] .bottom-nav {
    width: min(var(--preview-width), calc(100vw - 20px));
  }

  .published-invitation.visual-editor-ready .top-bar,
  .published-invitation.visual-editor-ready [data-public-content],
  .published-invitation.visual-editor-ready .bottom-nav,
  .published-invitation.visual-editor-ready[data-preview-viewport="mobile"] .top-bar,
  .published-invitation.visual-editor-ready[data-preview-viewport="mobile"] [data-public-content],
  .published-invitation.visual-editor-ready[data-preview-viewport="mobile"] .bottom-nav {
    width: var(--preview-frame-width);
  }

  .visual-editor-ready .editor-panel {
    right: 0;
    bottom: auto;
    width: 100%;
    max-height: 328px;
    border-right: 0;
    border-bottom: 1px solid rgba(47, 42, 41, 0.12);
    padding: 12px 16px;
  }

  .published-invitation.visual-editor-ready .editor-panel {
    display: none !important;
  }

  .preview-toolbar {
    top: 340px;
    left: 50%;
  }

  .visual-editor-ready .top-bar,
  .visual-editor-ready .bottom-nav {
    left: 50%;
  }

  .visual-editor-ready .rsvp-modal,
  .visual-editor-ready .registry-modal {
    width: min(var(--preview-width), calc(100vw - 20px));
    left: 50%;
  }

  .published-invitation.visual-editor-ready .rsvp-modal,
  .published-invitation.visual-editor-ready .registry-modal {
    width: var(--preview-frame-width);
  }

  .visual-editor-ready .top-bar {
    top: 394px;
  }

  .visual-editor-ready .envelope-card.entry-screen {
    top: auto;
    left: auto;
  }

  .visual-editor-ready .envelope-card.entry-screen .entry-content {
    min-height: inherit;
    padding: 18px 14px;
  }

  .published-invitation.visual-editor-ready .top-bar {
    top: 0;
  }

  .visual-editor-ready .bottom-nav {
    bottom: 10px;
  }

  .published-invitation.visual-editor-ready .bottom-nav {
    bottom: 0;
  }

  .visual-editor-ready .floating-audio-toggle {
    right: calc((100vw - var(--preview-frame-width)) / 2 + 14px);
    left: auto;
  }
}

@media (max-width: 900px) {
  html,
  body.published-invitation.visual-editor-ready {
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
  }

  body.published-invitation.visual-editor-ready {
    --app-width: 100vw;
    --preview-width: 100vw;
    --preview-frame-width: 100vw;
    display: block;
  }

  .published-invitation.visual-editor-ready .app-shell,
  .published-invitation.visual-editor-ready .top-bar,
  .published-invitation.visual-editor-ready [data-public-content],
  .published-invitation.visual-editor-ready .bottom-nav {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .published-invitation.visual-editor-ready .app-shell {
    margin-inline: 0 !important;
    padding-top: 0 !important;
    transform: none !important;
  }

  .published-invitation.visual-editor-ready .top-bar,
  .published-invitation.visual-editor-ready .bottom-nav {
    left: 0 !important;
    right: auto !important;
    transform: none !important;
  }

  .published-invitation.visual-editor-ready [data-public-content],
  .published-invitation.visual-editor-ready .feed,
  .published-invitation.visual-editor-ready .feed > *,
  .published-invitation.visual-editor-ready .hero-post {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

}

.published-invitation.visual-editor-ready .feed {
  width: 100% !important;
  align-items: stretch !important;
}

.published-invitation.visual-editor-ready .hero-post {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  align-self: stretch !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  left: auto !important;
  right: auto !important;
}

.published-invitation.visual-editor-ready .hero-post[data-editor-spacing] {
  width: 100% !important;
  padding: calc(var(--editor-padding-top, var(--editor-padding-y, 28)) * 1px) calc(var(--editor-padding-x, 28) * 1px) calc(var(--editor-padding-bottom, var(--editor-padding-y, 28)) * 1px) !important;
}

.published-invitation.visual-editor-ready .hero-post > img[data-demo-cover] {
  width: 100% !important;
  max-width: none !important;
  object-position: center center;
}

.published-invitation {
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
}

.published-invitation .app-shell {
  width: min(100vw, var(--app-width));
  max-width: 100vw;
  min-width: 0;
  margin-inline: auto;
}

.published-invitation .top-bar,
.published-invitation .bottom-nav {
  width: min(100vw, var(--app-width));
  max-width: 100vw;
  min-width: 0;
}

.published-invitation [data-public-content] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.published-invitation main {
  padding-bottom: 0 !important;
}

.bottom-nav {
  display: none !important;
}

.published-invitation .feed {
  gap: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  align-items: stretch !important;
}

.published-invitation .section-divider {
  display: none !important;
}

.published-invitation .feed > [data-demo-section]:not([data-editor-spacing]) {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.published-invitation [data-editor-spacing] {
  top: calc(var(--editor-margin-top, 0) * 1px) !important;
  margin-bottom: calc((var(--editor-margin-top, 0) + var(--editor-margin-bottom, 0)) * 1px) !important;
}

.published-invitation .envelope-card.entry-screen,
.published-invitation .envelope-card.entry-screen[data-editor-spacing] {
  width: 100% !important;
  max-width: 100% !important;
  left: auto !important;
  right: auto !important;
  top: 0 !important;
  margin-inline: auto !important;
  padding: 0 !important;
  transform: none !important;
}

.published-invitation .envelope-card.entry-screen .entry-content {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}

.published-invitation .envelope-card.entry-screen .envelope-stage {
  width: calc(100% - (var(--editor-padding-x, 10) * 2px)) !important;
  max-width: none !important;
  margin-inline: auto !important;
}

.published-invitation [data-decoration-layer][data-editor-spacing] {
  top: 0 !important;
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.visual-editor-ready .decoration-card[data-editor-spacing],
.published-invitation .decoration-card[data-editor-spacing] {
  top: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

.published-invitation .hero-post {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  align-self: stretch !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  left: auto !important;
  right: auto !important;
  overflow-x: hidden !important;
}

.published-invitation .hero-post[data-editor-spacing] {
  width: 100% !important;
  padding: calc(var(--editor-padding-top, var(--editor-padding-y, 28)) * 1px) calc(var(--editor-padding-x, 28) * 1px) calc(var(--editor-padding-bottom, var(--editor-padding-y, 28)) * 1px) !important;
}

.published-invitation .hero-post > img[data-demo-cover] {
  width: 100% !important;
  max-width: none !important;
  object-position: center center;
}

@media (max-width: 560px) {
  .published-invitation .mobile-entry-modal {
    width: min(100vw, var(--app-width));
    min-height: 100svh;
    position: fixed;
    inset: 0;
    left: 50%;
    z-index: 120;
    display: block;
    transform: translateX(-50%);
    background: transparent;
  }

  .published-invitation .mobile-entry-modal.is-closing {
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms ease;
  }

  .published-invitation .envelope-card.entry-screen {
    display: none !important;
  }

  .published-invitation .envelope-card.entry-screen,
  .published-invitation .envelope-card.entry-screen[data-editor-spacing] {
    min-height: auto !important;
    margin-top: -51px !important;
    margin-bottom: 0 !important;
  }

  .published-invitation .envelope-card.entry-screen .entry-content {
    min-height: auto !important;
  }

  .published-invitation .envelope-card.entry-screen .entry-copy {
    top: 92px;
    left: 45%;
    width: calc(100% - 72px);
    gap: 5px;
  }

  .published-invitation .entry-screen.native-envelope .entry-copy h2 {
    max-width: 100%;
    padding-inline: 4px;
    font-size: 13px !important;
    line-height: 1.06;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .published-invitation .entry-screen.native-envelope .guest-greeting {
    max-width: 100%;
    padding: 5px 12px;
    font-size: 10px !important;
  }

  .published-invitation .entry-screen.native-envelope .guest-greeting strong {
    font-size: 22px !important;
    line-height: 1 !important;
  }

  .published-invitation .entry-screen.native-envelope .guest-greeting [data-cover-guest] {
    font-size: 22px !important;
    line-height: 1 !important;
  }

  .published-invitation .envelope-card.entry-screen .envelope-stage {
    width: calc(100% + 56px) !important;
    max-width: none !important;
    aspect-ratio: 390 / 540 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-inline: -28px !important;
    transform: translateY(-48px);
  }

  .published-invitation .entry-screen.native-envelope .wax-seal {
    top: 53%;
    left: 49%;
    width: clamp(112px, 31vw, 140px);
    height: clamp(112px, 31vw, 140px);
  }

  .published-invitation .envelope-card.entry-screen .entry-footer {
    position: static;
    width: auto;
    transform: none;
    display: block;
  }

  .published-invitation .envelope-card.entry-screen .envelope-open-hint {
    position: absolute;
    left: calc(49% + 58px);
    top: calc(53% + 2px);
    z-index: 13;
    max-width: 118px;
    gap: 5px;
    color: rgba(16, 63, 71, 0.88);
    font-size: 9px;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: 0.08em;
    text-align: left;
    transform: translateY(-50%);
    white-space: normal;
  }

  .published-invitation .envelope-card.entry-screen .envelope-open-hint .material-symbols-outlined {
    flex: 0 0 auto;
    font-size: 12px !important;
    opacity: 0.82;
  }

  .published-invitation .envelope-card.entry-screen .envelope-open-hint [data-envelope-button-label] {
    color: rgba(16, 63, 71, 0.88) !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    line-height: 1.08 !important;
    letter-spacing: 0.08em !important;
  }

  .published-invitation .entry-screen.native-envelope .rsvp-date {
    position: absolute;
    left: 50%;
    bottom: 126px;
    z-index: 13;
    max-width: 72%;
    font-size: 11px;
    letter-spacing: 0.03em;
    transform: translateX(-50%);
  }

  .published-invitation .entry-screen.native-envelope .rsvp-date i {
    width: 34px;
  }
}
