.mv-noel-greeting {
    --mv-noel-gold: #e5c992;
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: calc(100% - 24px);
    max-width: 760px;
    min-height: 48px;
    margin: 10px auto;
    padding: 3px 48px;
    overflow: hidden;
    border: 1px solid #6f4246;
    border-radius: 3px;
    background: linear-gradient(110deg, #28141c, #4a222b 49%, #28141c);
    color: #fff5e3;
    box-shadow: inset 0 1px 0 #7d5050, 0 3px 9px rgba(48, 23, 31, .12);
    text-align: center;
}
.mv-noel-greeting__message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 0;
}
.mv-noel-greeting .mv-noel-greeting__message p {
    margin: 0;
    color: inherit;
    font: 500 clamp(16px, 2vw, 21px)/1.3 Georgia, 'Times New Roman', serif;
    text-wrap: balance;
}
.mv-noel-greeting__ornament {
    position: relative;
    display: block;
    width: 20px;
    height: 23px;
    flex: 0 0 20px;
    border-radius: 50%;
    background: radial-gradient(ellipse at 32% 26%, #fff8df 2%, #f5d399 14%, #ae854d 40%, #6f4924 67%, #c59c5e 88%);
    box-shadow: inset -1px -2px 3px rgba(53, 26, 10, .45), 1px 2px 3px rgba(20, 6, 9, .42);
    transform-origin: 50% -4px;
}
.mv-noel-greeting__ornament::before {
    position: absolute;
    top: -4px;
    left: 7px;
    width: 6px;
    height: 5px;
    border-radius: 2px 2px 0 0;
    background: linear-gradient(90deg, #967347, #f8e6ab, #a88141);
    content: '';
}
.mv-noel-greeting .mv-noel-greeting__close {
    position: absolute;
    inset-inline-end: 0;
    top: 50%;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--mv-noel-gold);
    box-shadow: none;
    font: 400 24px/1 Arial, sans-serif;
    cursor: pointer;
}
.mv-noel-greeting .mv-noel-greeting__close:focus-visible {
    outline: 2px solid #fff3d4;
    outline-offset: -5px;
}
@media (hover: hover) {
    .mv-noel-greeting .mv-noel-greeting__close:hover { color: white; }
}
@media (prefers-reduced-motion: no-preference) {
    .mv-noel-greeting__ornament {
        animation: mv-noel-swing 1800ms ease-out 1;
    }
    @keyframes mv-noel-swing {
        0% { transform: perspective(90px) rotateZ(-13deg) rotateY(-12deg); }
        38% { transform: perspective(90px) rotateZ(8deg) rotateY(10deg); }
        72% { transform: perspective(90px) rotateZ(-3deg) rotateY(-4deg); }
        100% { transform: perspective(90px) rotateZ(0) rotateY(0); }
    }
}
@media (max-width: 420px) {
    .mv-noel-greeting { padding: 6px 45px 6px 12px; }
    .mv-noel-greeting__message { gap: 8px; }
}
@media print {
    .mv-noel-greeting { display: none; }
}

/* The old Customizer effect used these two root pseudo-elements. */
html[data-mv-noel="1.1"]:has(.mv-noel-greeting)::before,
html[data-mv-noel="1.1"]:has(.mv-noel-greeting)::after {
    content: none !important;
    animation: none !important;
    display: none !important;
}

.mv-noel-greeting {
    flex-wrap: wrap;
    column-gap: 18px;
    row-gap: 0;
}
.mv-noel-controls {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
}
:is(.mv-noel-greeting, #mv-noel-footer) .mv-noel-controls button {
    appearance: none;
    min-width: 0;
    min-height: 40px;
    padding: 5px 2px;
    margin: 0;
    border: 0;
    border-radius: 0;
    color: #ffebc1;
    background: transparent;
    box-shadow: none;
    font: 500 13px/1.3 system-ui, sans-serif;
    text-decoration: underline;
    text-underline-offset: .22em;
    text-transform: none;
    cursor: pointer;
}
.mv-noel-controls button[hidden] { display: none !important; }
.mv-noel-controls button:focus-visible { outline: 2px solid #fff3d4; outline-offset: 0; }
#mv-noel-footer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 2vw, 25px);
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-height: 61px;
    padding: 8px clamp(10px, 3vw, 42px);
    margin: 0;
    border: 0;
    border-block: 1px solid #87684e;
    color: #fff0cf;
    background: linear-gradient(110deg, #391521, #5b2635 52%, #36151f);
    text-align: center;
}
.mv-noel-footer__copy {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 5px 12px;
    color: inherit;
    font: 500 clamp(17px, 2.2vw, 25px)/1.3 Georgia, 'Times New Roman', serif;
    text-wrap: balance;
}
.mv-noel-footer__copy span { font-size: .73em; font-style: italic; }
.mv-noel-footer__rule { flex: 0 0 auto; color: #ddbd77; font-size: 15px; }
.mv-noel-stars {
    position: fixed !important;
    inset: 0 !important;
    z-index: 90 !important;
    overflow: hidden;
    pointer-events: none !important;
    user-select: none;
    contain: strict;
}
.mv-noel-stars > span {
    position: absolute;
    top: 0;
    left: var(--x);
    width: var(--s);
    height: calc(var(--s) * 1.22);
    pointer-events: none;
    filter: drop-shadow(0 1px 1px #70491e) drop-shadow(0 0 2px #fff2ce);
    animation: mv-noel-fall var(--t) linear var(--p) infinite;
}
.mv-noel-stars > span::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(117deg, #fff5cd 3%, #fff0b8 35%, #d2a454 58%, #b5833d 100%);
    clip-path: polygon(50% 0, 60% 37%, 100% 50%, 61% 59%, 50% 100%, 41% 61%, 0 50%, 38% 40%);
}
.mv-noel-stars > span:nth-child(1) { --x:5%;  --s:18px; --t:10s;   --p:-3s;   --d:3vw; }
.mv-noel-stars > span:nth-child(2) { --x:17%; --s:11px; --t:15s;   --p:-12.5s;--d:-2vw; }
.mv-noel-stars > span:nth-child(3) { --x:31%; --s:20px; --t:9s;    --p:-6.6s; --d:2vw; }
.mv-noel-stars > span:nth-child(4) { --x:44%; --s:12px; --t:13s;   --p:-2s;   --d:-3vw; }
.mv-noel-stars > span:nth-child(5) { --x:55%; --s:16px; --t:11.5s; --p:-8.5s; --d:4vw; }
.mv-noel-stars > span:nth-child(6) { --x:69%; --s:10px; --t:16.5s; --p:-8s;   --d:2vw; }
.mv-noel-stars > span:nth-child(7) { --x:82%; --s:22px; --t:8.5s;  --p:-1.1s; --d:-3vw; }
.mv-noel-stars > span:nth-child(8) { --x:92%; --s:14px; --t:14s;   --p:-6.5s; --d:2vw; }
@keyframes mv-noel-fall {
    0% { transform: translate3d(0, -30px, 0) rotate(-13deg); }
    55% { transform: translate3d(var(--d), 55vh, 0) rotate(9deg); }
    100% { transform: translate3d(0, calc(100vh + 30px), 0) rotate(19deg); }
}
.mv-noel-stars[data-mode="quiet"] > span { display: none; }
.mv-noel-stars[data-mode="quiet"] > span:is(:first-child,:last-child) {
    display: block;
    width: 9px;
    height: 12px;
    left: 3%;
    top: 26%;
    opacity: .8;
    animation: mv-noel-drift 16s ease-in-out -5s infinite alternate;
}
.mv-noel-stars[data-mode="quiet"] > span:last-child {
    left: auto;
    right: 3%;
    top: 72%;
    animation-delay: -12s;
}
@keyframes mv-noel-drift {
    from { transform: translate3d(0, -7px, 0); }
    to { transform: translate3d(2px, 7px, 0); }
}
@media (max-width: 600px) {
    #mv-noel-footer { flex-wrap: wrap; gap: 0 9px; padding-block: 10px 6px; }
    #mv-noel-footer .mv-noel-footer__copy { order: 0; max-width: calc(100% - 60px); }
    #mv-noel-footer .mv-noel-controls { order: 1; width: 100%; }
    .mv-noel-greeting .mv-noel-controls { width: 100%; }
    .mv-noel-stars > span { width: calc(var(--s) * .78); height: var(--s); }
}
@media (max-width: 992px) {
    body:has(.et-mobile-panel-wrapper) .mv-noel-stars {
        bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    }
}
@media print {
    .mv-noel-stars, .mv-noel-controls { display: none !important; }
}

/* Miss Vanity · Γιορτινή λωρίδα στο πάνω μέρος της σελίδας */
.mv-noel-greeting {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    border-inline: 0;
    border-radius: 0;
    box-shadow: inset 0 1px 0 #7d5050;
    overflow: hidden;
}
.mv-noel-greeting > .mv-noel-greeting__message,
.mv-noel-greeting > .mv-noel-controls {
    position: relative;
    z-index: 1;
}
.mv-noel-greeting > .mv-noel-greeting__close { z-index: 2; }
.mv-noel-stars[data-mode="on"] > span {
    animation-duration: calc(var(--t) * 1.65);
    animation-delay: calc(var(--p) * 1.65);
}
@media screen {
    .mv-noel-greeting:has(.mv-noel-motion[aria-pressed="true"])::before,
    .mv-noel-greeting:has(.mv-noel-motion[aria-pressed="true"])::after {
        content: "✦";
        content: "✦" / "";
        position: absolute;
        z-index: 0;
        top: 0;
        bottom: 0;
        width: 1em;
        padding: 0;
        margin: 0;
        pointer-events: none;
        user-select: none;
        font: 400 14px/1 Georgia, serif;
        color: #efcf83;
        animation: mv-noel-ribbon-fall 10s linear -3.2s infinite;
    }
    .mv-noel-greeting:has(.mv-noel-motion[aria-pressed="true"])::before {
        left: 3%;
        text-shadow: 7vw 7px 0 #d9b469, 15vw -9px 0 #f7dda4, 23vw 2px 0 #d2a55a;
    }
    .mv-noel-greeting:has(.mv-noel-motion[aria-pressed="true"])::after {
        right: 4%;
        font-size: 11px;
        color: #f9dfa4;
        text-shadow: -7vw -5px 0 #e8c786, -15vw 7px 0 #fae7bc, -23vw -4px 0 #c99852;
        animation-duration: 13s;
        animation-delay: -8.2s;
    }
    @keyframes mv-noel-ribbon-fall {
        0% { transform: translate3d(0,-18px,0); opacity: 0; }
        16% { opacity: .9; }
        82% { opacity: .9; }
        100% { transform: translate3d(6px,calc(100% + 6px),0); opacity: 0; }
    }
    body:has(> .mv-noel-stars[data-mode="quiet"]) .mv-noel-greeting::before,
    body:has(> .mv-noel-stars[data-mode="quiet"]) .mv-noel-greeting::after {
        top: 45%;
        bottom: auto;
        font-size: 10px;
        text-shadow: none;
        animation: mv-noel-ribbon-drift 16s ease-in-out -5s infinite alternate;
    }
    @keyframes mv-noel-ribbon-drift {
        from { transform: translate3d(0,-3px,0); }
        to { transform: translate3d(2px,3px,0); }
    }
}
@media (max-width: 600px) {
    .mv-noel-greeting:has(.mv-noel-motion[aria-pressed="true"])::before {
        font-size: 11px;
        text-shadow: 6vw 8px 0 #cba562;
    }
    .mv-noel-greeting:has(.mv-noel-motion[aria-pressed="true"])::after {
        right: 3%;
        font-size: 9px;
        text-shadow: -6vw -5px 0 #d8b779;
    }
}
