/* Greeting cards stay beneath the shared header; decorative artwork stays
   attached to the bottom. Cards remain inside their theme, so seasonal fades
   and device/consent visibility continue to apply to the complete theme. */
.ce-holiday-art.ce-holiday-art--overlay > .ce-holiday-copy {
    position: fixed;
    top: var(--ce-holiday-copy-top, 98px);
    right: auto;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: min(44rem, calc(100% - 32px));
    min-width: 0;
    margin: 0;
    align-self: auto;
    text-align: center;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 20;
}
.ce-holiday-art.ce-holiday-art--overlay > .ce-holiday-copy :is(.ce-holiday-label,.ce-holiday-countdown) {
    overflow-wrap: anywhere;
}
/* All illustrations stop above the footer. Relative positioning lets fixed
   greeting/countdown cards retain their independent viewport positions. */
.ce-holiday-stack > .ce-holiday-art.ce-holiday-art--overlay:not([data-holiday-theme="snowfall"]) {
    position: relative;
    top: calc(-1 * var(--ce-holiday-season-footer-lift, 0px));
}
.ce-holiday-stack > .ce-holiday-art.ce-holiday-art--overlay[data-holiday-theme="snowfall"] {
    translate: 0 var(--ce-holiday-snow-footer-shift, 0px);
}
/* The transformed miniature is the fixed card's containing block. The real
   site's preview has no such wrapper and uses the actual shared header. */
.ce-holiday-preview-stage .ce-holiday-art.ce-holiday-art--overlay > .ce-holiday-copy {
    top: var(--ce-holiday-copy-top, 54px);
    max-width: calc(100% - 20px);
}
@media (max-width:760px) {
    .ce-holiday-art.ce-holiday-art--overlay > .ce-holiday-copy {
        max-width: calc(100% - 24px);
    }
}
