/* A transparent tile supplies intrinsic height; the background paints repeated copies.
   The artwork never stretches horizontally when the section exceeds the design width. */
.template-stickers > .template-sticker-repeat,
.template-sticker-repeat {
    background-image: var(--sticker-repeat-image);
    background-repeat: repeat-x;
    background-position: center bottom;
    background-size: var(--sticker-tile-width) 100%;
}
.template-sticker-repeat > img {
    display: block;
    width: var(--sticker-tile-width);
    height: auto;
    max-width: none;
    margin: 0 auto;
    opacity: 0;
    pointer-events: none;
    user-select: none;
}
[data-template-layout="crop-1920"] > .template-stickers {
    --sticker-repeat-span: max(100%, 100vw);
}
.sticker-canvas-item.template-sticker-repeat { background-image: none; cursor: default; }
.sticker-canvas-item.template-sticker-repeat.is-selected { background-image: var(--sticker-repeat-image); }
.sticker-canvas-item.template-sticker-repeat > img { opacity: 0; }
