/* Original image/link/figure layout is untouched. JS enhances only our layer. */
.fytt-sales-copy-frame { position: relative; }
/* Readable fallback for disabled/failed JS, unloaded images and unsafe geometry. */
.fytt-sales-copy-frame > .fytt-sales-copy {
	position: static; display: block; margin: .5em 0; padding: 0;
	font-family: inherit; font-weight: 700; line-height: 1.2;
	text-align: center; color: inherit !important;
}
.fytt-sales-copy > .fytt-sales-copy__line {
	display: block; margin: 0; padding: 0; font: inherit;
	white-space: normal; overflow-wrap: anywhere;
}
.fytt-sales-copy-plane {
	position: absolute; left: 0; top: 0; width: 0; height: 0;
	margin: 0; padding: 0; border: 0; z-index: 1; pointer-events: none;
}
.fytt-sales-copy-plane[hidden] { display: none !important; }
.fytt-sales-copy-canvas {
	position: absolute; left: 0; top: 0; margin: 0; padding: 0; border: 0;
	box-sizing: content-box; transform-origin: 0 0;
	overflow: hidden; pointer-events: none;
}
.fytt-sales-copy-canvas > .fytt-sales-copy {
	position: absolute; top: 0; bottom: 0; left: 5%; width: 90%;
	display: flex; flex-direction: column; align-items: center; gap: 0;
	margin: 0; padding: 0; min-height: 0;
	font-family: inherit; font-weight: 700; line-height: 1.2;
	text-align: center; overflow: hidden; pointer-events: none;
}
/* Shrink only the spacer at the bottom edge, preserving configured font sizes. */
.fytt-sales-copy-canvas > .fytt-sales-copy::before {
	content: ''; flex: 0 1 calc(var(--fytt-copy-position, 8) * 1%);
	min-height: 0; width: 0;
}
.fytt-sales-copy-canvas .fytt-sales-copy__line {
	flex: 0 0 auto; width: 100%;
	font-size: calc(var(--fytt-copy-size, 24) * var(--fytt-copy-scale, 1) * 1px);
}