/* UBazar Flux 1.0.106. Seasonal decorations anchored to first glyph U.
   Applies equally to the header (desktop/mobile/sticky) and to the footer.
   Defaults reproduce 1.0.104 unless a new checkbox is explicitly enabled. */
.uf-logo-effects .uf-logo-core{position:relative;isolation:isolate}
.uf-header-brand.uf-logo-effects .uf-logo-core--text{display:inline-block;width:max-content;max-width:100%;height:auto}
.uf-header-brand.uf-logo-effects .uf-logo-core--image{display:flex;align-items:center;justify-content:center;width:100%;height:100%;max-width:100%}
.uf-header-brand.uf-logo-effects .uf-logo-core--image .uf-logo-image{display:block;max-width:100%;width:100%;height:100%;object-fit:contain;object-position:center}
.uf-footer-logo.uf-logo-effects .uf-logo-core{max-width:100%}

/* Identical diagonal color movement on the header and footer logos. */
.uf-header-brand.uf-logo--gradient:not(.uf-logo--silver) .uf-logo-text{
 color:transparent!important;-webkit-text-fill-color:transparent!important;
 background-image:linear-gradient(128deg,var(--uf-logo-from,#D8FF65) 0%,var(--uf-logo-from,#D8FF65) 25%,var(--uf-logo-glint,#fff) 48%,var(--uf-logo-to,#86FFC2) 68%,var(--uf-logo-to,#86FFC2) 100%);
 background-size:200% 200%;background-position:0 0;
 -webkit-background-clip:text;background-clip:text;
 animation:uf-footer-logo-shimmer var(--uf-logo-duration,10s) ease-in-out infinite alternate;
}

/* Optional winter silver: overrides the chosen color palette without resetting it. */
.uf-logo-effects.uf-logo--silver .uf-footer-wordmark,
.uf-logo-effects.uf-logo--silver .uf-logo-text{
 color:transparent!important;-webkit-text-fill-color:transparent!important;
 background-image:linear-gradient(120deg,#9CA7B1 0%,#EAF2F9 18%,#FFFFFF 29%,#8795A3 40%,#D4E2F0 58%,#FFFFFF 71%,#A3B0BD 100%)!important;
 background-size:255% 140%!important;background-position:0 50%!important;
 -webkit-background-clip:text!important;background-clip:text!important;
 animation:uf-logo-silver-glimmer var(--uf-logo-duration,10s) ease-in-out infinite alternate!important;
}
@keyframes uf-logo-silver-glimmer{0%{background-position:0 50%}100%{background-position:100% 50%}}

/* Media-library wordmarks: an alpha mask retains the original letter shapes. */
@supports ((-webkit-mask-image:url('')) or (mask-image:url(''))) {
 .uf-header-brand.uf-logo--gradient .uf-logo-core--image>.uf-logo-image,
 .uf-header-brand.uf-logo--silver .uf-logo-core--image>.uf-logo-image,
 .uf-footer-logo.uf-logo--silver .uf-footer-logo-content--image>img{opacity:0}
 .uf-header-brand.uf-logo--gradient .uf-logo-core--image::before,
 .uf-header-brand.uf-logo--silver .uf-logo-core--image::before,
 .uf-footer-logo.uf-logo--silver .uf-footer-logo-content--image::before{
  content:"";display:block;position:absolute;inset:0;z-index:0;pointer-events:none;
  -webkit-mask-image:var(--uf-logo-mask);mask-image:var(--uf-logo-mask);
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:center;mask-position:center;
  -webkit-mask-size:contain;mask-size:contain;
  background-image:linear-gradient(128deg,var(--uf-logo-from,#D8FF65) 0%,var(--uf-logo-from,#D8FF65) 25%,var(--uf-logo-glint,#fff) 48%,var(--uf-logo-to,#86FFC2) 68%,var(--uf-logo-to,#86FFC2) 100%);
  background-size:200% 200%;background-position:0 0;
  animation:uf-footer-logo-shimmer var(--uf-logo-duration,10s) ease-in-out infinite alternate;
 }
 .uf-header-brand.uf-logo--silver .uf-logo-core--image::before,
 .uf-footer-logo.uf-logo--silver .uf-footer-logo-content--image::before{
  background-image:linear-gradient(120deg,#9CA7B1 0%,#EAF2F9 18%,#FFFFFF 29%,#8795A3 40%,#D4E2F0 58%,#FFFFFF 71%,#A3B0BD 100%)!important;
  background-size:255% 140%!important;background-position:0 50%!important;
  animation:uf-logo-silver-glimmer var(--uf-logo-duration,10s) ease-in-out infinite alternate!important;
 }
}

/* 1.0.106 — the seasonal artwork belongs to the FIRST U, never to the logo row.
   Exact U bounds are measured in logo-u-anchor.js for text, and the first letter
   is found by alpha analysis (with a safe fallback) for transparent image logos. */
.uf-logo-effects .uf-logo-u-anchor{
 position:absolute;left:0;top:0;width:13%;height:100%;display:block;
 z-index:6;pointer-events:none;line-height:0;overflow:visible;isolation:isolate;
}
.uf-logo-effects .uf-logo-decoration{
 position:absolute;display:block;height:auto;line-height:0;pointer-events:none;
 filter:drop-shadow(0 1px 1px rgba(0,0,0,.28));
 transform-origin:50% 60%;
}
.uf-logo-effects .uf-logo-decoration svg{display:block;width:100%;height:100%;overflow:visible}
/* The hat's WHITE BRIM touches the upper curve of U. Its red part is above U. */
.uf-logo-effects .uf-logo-decoration--santa{
 width:145%;aspect-ratio:96/78;left:-17%;top:-40%;transform:rotate(-12deg);z-index:8;
}
/* A prominent snowflake now hangs on the U itself, not over the last letters. */
.uf-logo-effects .uf-logo-decoration--snowflake{
 width:110%;aspect-ratio:1;right:-15%;top:4%;transform:rotate(9deg);z-index:9;
}
/* The pair has separate positions, both still attached to the U. */
.uf-logo-effects .uf-logo-u-anchor--winter-pair .uf-logo-decoration--snowflake{
 width:103%;right:-19%;top:25%;transform:rotate(12deg);
}
.uf-logo-effects .uf-logo-decoration--leaf{
 width:90%;aspect-ratio:1;right:-8%;top:-9%;transform:rotate(-15deg);z-index:7;
}
.uf-logo-effects .uf-logo-decoration--heart{
 width:80%;aspect-ratio:1;right:-7%;top:4%;transform:rotate(12deg);z-index:7;
}
.uf-logo-effects .uf-logo-decoration--march8{
 width:89%;aspect-ratio:72/76;right:-11%;top:-4%;transform:rotate(12deg);z-index:7;
}
.uf-logo-effects .uf-logo-decoration--ribbon{
 width:83%;aspect-ratio:78/74;left:20%;top:8%;transform:rotate(-16deg);z-index:7;
}
/* The compressed sticky logo needs the hat slightly lower to avoid clipping at the viewport top. */
.uf-site-header.is-sticky .uf-logo-decoration--santa{
 width:118%;top:-32%;left:-13%;transform:rotate(-9deg);
}
.uf-site-header.is-sticky .uf-logo-decoration--snowflake{width:99%;top:12%;}
.uf-site-header.is-sticky .uf-logo-u-anchor--winter-pair .uf-logo-decoration--snowflake{width:93%;top:28%;}
@media(prefers-reduced-motion:reduce){
 .uf-logo-effects.uf-logo--gradient .uf-logo-text,
 .uf-logo-effects.uf-logo--silver .uf-logo-text,
 .uf-logo-effects.uf-logo--silver .uf-footer-wordmark,
 .uf-logo-effects.uf-logo--silver .uf-logo-core--image::before,
 .uf-header-brand.uf-logo--gradient .uf-logo-core--image::before{
  animation:none!important;background-position:50% 50%!important;
 }
}
