/* Flex-centered imported shells otherwise use their content's intrinsic width
   and can become wider than a narrow phone before the inner card is sized. */
.ws-template-demo-preview__shell {
	width: min(100%, 500px);
	min-width: 0;
	box-sizing: border-box;
	/* Center the card even when an imported design uses a normal block body. */
	margin-inline: auto;
}
/* Some imported cards declare a fixed desktop width larger than their shell. */
.dtc-vw #invitation-content { max-width: 100%; }
/* Live lettering follows the original ticket artboard in Hy Mong / Olive Love.
   The blank middle row is reserved for the separately bound wedding date. */
.dtc-vw .envelop-save-date__image.dtc-save-date-paper {
	position: relative;
	aspect-ratio: 16 / 9;
	padding: 0;
	background: transparent;
	color: inherit;
	font-family: Georgia, serif;
	font-style: italic;
	font-size: clamp(10px, 2.7cqw, 14px);
	line-height: 1.15;
}
.dtc-save-date-paper::before {
	content: "";
	position: absolute;
	left: 16.46%;
	top: 21.3%;
	width: 51.35%;
	height: 48.15%;
	background: #fffdf5;
	border-radius: 5px;
}
.dtc-save-date-paper::after {
	content: "";
	position: absolute;
	left: 25.2%;
	top: 24%;
	height: 42.7%;
	border-left: 1px dashed currentColor;
	opacity: .2;
}
.dtc-save-date-paper > .dtc-save-date-title,
.dtc-save-date-paper > .dtc-save-date-caption {
	position: absolute;
	left: 46%;
	width: 40%;
	margin: 0;
	font: inherit;
	text-align: center;
	transform: translate(-50%, -50%);
}
.dtc-save-date-paper > .dtc-save-date-title { top: 31.5%; }
.dtc-save-date-paper > .dtc-save-date-caption { top: 56%; font-size: .85em; }
.guestbook-entry { min-width: 0; overflow-wrap: anywhere; }
.guestbook-entry__message { white-space: pre-line; }

.iv-demobar {
	position: fixed;
	left: 50%;
	bottom: 16px;
	z-index: 2147483000;
	display: flex;
	gap: 8px;
	transform: translateX(-50%);
	font: 600 14px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.iv-demobar a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 12px 18px;
	border-radius: 999px;
	text-decoration: none;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.iv-demobar__back {
	background: rgba(255, 255, 255, .94);
	color: #222;
}

.iv-demobar__use {
	background: #c0392b;
	color: #fff;
}

.iv-toast {
	position: fixed;
	left: 50%;
	bottom: 80px;
	z-index: 2147483001;
	max-width: 90vw;
	padding: 10px 16px;
	border-radius: 10px;
	background: rgba(20, 20, 20, .88);
	color: #fff;
	font: 500 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 10px);
	transition: opacity .25s, transform .25s;
}

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

.iv-editing img.iv-photo {
	cursor: pointer;
}

.iv-editing [data-aos] {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}
.dtc-vw .dtc-gift-box { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 20px 14px; margin: 20px auto; border: 0; border-radius: 18px; background: transparent; color: inherit; cursor: pointer; font: 500 14px/1.5 sans-serif; }
.dtc-vw .dtc-gift-box img { display: block; width: 180px; height: 172px; object-fit: contain; }
.dtc-vw .dtc-gift-box:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.dtc-vw .dtc-gift-thanks { margin: 22px auto 0; max-width: 360px; text-align: center; font-style: italic; line-height: 1.7; }
