/* Scoped decoration: no changes to search inputs, dropdowns or theme templates. */
.omneo-holiday-scene {
    display: block; position: relative; box-sizing: border-box; width: 100%;
    height: 70px; margin: 0 0 3px; padding: 0; overflow: hidden;
    pointer-events: none; user-select: none; line-height: 1;
}
.omneo-holiday-scene svg { display: block; width: 100%; height: 70px; max-width: none; margin: 0 auto; }
.omneo-holiday-scene.oh-with-greeting { height: 90px; }
.omneo-holiday-scene .oh-greeting-desktop { display: none; text-align: center; color: #496d60; font: italic 13px/20px Georgia, serif; }
.omneo-holiday-scene.oh-with-greeting .oh-greeting-desktop { display: block; }
.omneo-holiday-scene.oh-with-greeting.oh-january { height: 34px; }
.omneo-holiday-scene.oh-january .oh-desktop-art, .omneo-holiday-scene.oh-january .oh-mobile-art { display: none !important; }
.omneo-holiday-scene.oh-with-greeting.oh-january .oh-greeting-desktop { display: block; font-size: 17px; line-height: 34px; }
.omneo-holiday-scene.oh-january .oh-greeting-desktop::before, .omneo-holiday-scene.oh-january .oh-greeting-desktop::after { content: '\2726'; color: #c8a45b; margin: 0 12px; font: 12px/1 Georgia, serif; }
.omneo-holiday-scene .oh-mobile { display: none; }
.omneo-holiday-scene .oh-mobile-art { display: none; }
.omneo-holiday-scene .oh-star { fill: #d7aa4c; }
.omneo-holiday-scene .oh-track { stroke: #c6d8d4; stroke-width: 1; fill: none; }
.omneo-holiday-scene .oh-tree { display: none; }
.omneo-holiday-scene.oh-has-tree .oh-tree { display: inline; }
.omneo-holiday-scene.oh-motion .oh-team { animation: oh-cross-search var(--oh-trip-duration, 15s) linear infinite; }
.omneo-holiday-scene.oh-motion.oh-variant-forest .oh-standing-tree { animation: oh-tree-journey var(--oh-trip-duration, 15s) linear infinite; }
.omneo-holiday-scene.oh-variant-forest .oh-team > .oh-brand-slot { display: none !important; }
.omneo-holiday-scene .oh-standing-brand { visibility: hidden; }
.omneo-holiday-scene.oh-tree-branded .oh-standing-brand { visibility: visible; }
.omneo-holiday-scene .oh-christmas-team, .omneo-holiday-scene .oh-newyear-team, .omneo-holiday-scene .oh-gifts-team, .omneo-holiday-scene .oh-forest-team { display: none; }
.omneo-holiday-scene.oh-variant-deer .oh-christmas-team, .omneo-holiday-scene.oh-variant-newyear .oh-newyear-team, .omneo-holiday-scene.oh-variant-gifts .oh-gifts-team, .omneo-holiday-scene.oh-variant-forest .oh-forest-team { display: inline; }
.omneo-holiday-scene.oh-variant-none .oh-brand-slot { display: none !important; }
.omneo-holiday-scene.oh-out-of-season, .omneo-holiday-snowfall.oh-out-of-season { display: none !important; }
.omneo-holiday-scene .oh-leg, .omneo-holiday-scene .oh-shin { transform-box: view-box; transform-origin: 0 0; }
.omneo-holiday-scene.oh-motion .oh-deer { animation: oh-walk-body var(--oh-gait-duration, 1.2s) ease-in-out infinite; }
.omneo-holiday-scene.oh-motion .oh-sleigh { animation: oh-sleigh-glide var(--oh-gait-duration, 1.2s) ease-in-out infinite; }
.omneo-holiday-scene.oh-motion .oh-leg { animation: oh-walk-leg var(--oh-gait-duration, 1.2s) ease-in-out infinite; }
.omneo-holiday-scene.oh-motion .oh-shin { animation: oh-walk-knee var(--oh-gait-duration, 1.2s) ease-in-out infinite; }
.omneo-holiday-scene .oh-leg-back-far, .omneo-holiday-scene .oh-leg-back-far .oh-shin { animation-delay: calc(var(--oh-gait-duration, 1.2s) / -2) !important; }
.omneo-holiday-scene .oh-leg-front-near, .omneo-holiday-scene .oh-leg-front-near .oh-shin { animation-delay: calc(var(--oh-gait-duration, 1.2s) / -2) !important; }
.omneo-holiday-snowfall { position: fixed; inset: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none !important; user-select: none; z-index: 1000; }
.omneo-holiday-snowfall .oh-page-flake { position: absolute; top: -24px; display: none; width: 20px; height: 20px; color: #91afbd; opacity: .68; font-family: Arial, sans-serif; line-height: 20px; text-align: center; pointer-events: none !important; animation: oh-page-snow 20s linear infinite; }
.omneo-holiday-snowfall .oh-page-flake.oh-on-desktop { display: block; }
.oh-previewbar { position: fixed; bottom: 12px; left: 12px; right: 12px; z-index: 10001; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; width: fit-content; max-width: calc(100% - 24px); padding: 12px 16px; background: #fff9e7; border: 1px solid #b6954c; border-radius: 6px; box-shadow: 0 3px 14px #0002; color: #604a1d; font: 13px/1.5 Arial, sans-serif; }
.oh-previewbar input { padding: 4px; border: 1px solid #c8b174; background: white; color: #463b25; }
.oh-previewbar button { padding: 6px 10px; border: 0; border-radius: 3px; background: #66522c; color: white; cursor: pointer; }
.omneo-holiday-scene .omneo-holiday-hide {
    position: absolute; top: 0; right: 0; width: 24px; height: 24px;
    padding: 0; margin: 0; border: 0; border-radius: 50%; background: transparent;
    color: #677976; font: 18px/24px Arial, sans-serif; cursor: pointer; pointer-events: auto;
}
.omneo-holiday-hide:hover, .omneo-holiday-hide:focus { color: #163e37; background: #edf5f2; }
.omneo-holiday-hide:focus-visible { outline: 2px solid #387b69; outline-offset: -2px; }
@keyframes oh-cross-search { 0% { transform: translateX(-270px); } 90%, 100% { transform: translateX(var(--oh-route-end, 270px)); } }
/* Leave to the right, re-enter unseen at the left, then park at the same
   final position used when the next motif starts. No jump on motif change. */
@keyframes oh-tree-journey {
    0% { transform: translateX(0); }
    8% { transform: translateX(60px); }
    8.01% { transform: translateX(var(--oh-tree-restart, -484px)); }
    90%, 100% { transform: translateX(0); }
}
@keyframes oh-walk-leg { 0%, 100% { transform: rotate(-19deg); } 50% { transform: rotate(19deg); } }
@keyframes oh-walk-knee { 0%, 50%, 100% { transform: rotate(0deg); } 75% { transform: rotate(-32deg); } }
@keyframes oh-walk-body { 0%, 50%, 100% { transform: translateY(0); } 25%, 75% { transform: translateY(-.7px); } }
@keyframes oh-sleigh-glide { 0%, 50%, 100% { transform: translateY(0); } 25%, 75% { transform: translateY(-.25px); } }
@keyframes oh-page-snow { from { transform: translate3d(-12px, 0, 0) rotate(0deg); } to { transform: translate3d(12px, calc(100vh + 48px), 0) rotate(90deg); } }
@media (max-width: 959px) {
    .omneo-holiday-scene.oh-with-greeting.oh-january { height: 28px; }
    .omneo-holiday-scene.oh-with-greeting.oh-january .oh-greeting-desktop { font-size: 14px; line-height: 28px; }
    .omneo-holiday-scene, .omneo-holiday-scene.oh-with-greeting { height: 29px; margin-bottom: 2px; }
    .omneo-holiday-scene svg { max-width: 240px; height: 29px; }
    .omneo-holiday-scene .oh-greeting-desktop, .omneo-holiday-scene.oh-with-greeting .oh-greeting-desktop { display: none; }
    .omneo-holiday-scene .oh-desktop { display: none; }
    .omneo-holiday-scene > svg:first-child { display: none; }
    .omneo-holiday-scene .oh-mobile-art { display: block; }
    .omneo-holiday-scene .oh-mobile { display: inline; }
    .omneo-holiday-scene * { animation: none !important; }
    .omneo-holiday-snowfall .oh-page-flake { font-size: 10px !important; opacity: .5; }
    .omneo-holiday-snowfall .oh-page-flake.oh-on-desktop { display: none; }
    .omneo-holiday-snowfall .oh-page-flake.oh-on-mobile { display: block; }
}
@media (prefers-reduced-motion: reduce) {
    .omneo-holiday-scene *, .omneo-holiday-scene.oh-motion * { animation: none !important; }
    .omneo-holiday-snowfall { display: none !important; }
}
@media print { .omneo-holiday-scene, .omneo-holiday-snowfall, .oh-previewbar { display: none !important; } }
