/* Shared styles for assets/js/fx.js. Loaded only for looks that have a theme.js. */
.fx-pre{opacity:0;transform:translateY(22px);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.8,.2,1)}
.fx-pre.fx-in{opacity:1;transform:none}
.fx-glare{position:absolute;inset:0;pointer-events:none;border-radius:inherit;z-index:2}
.fx-tilt{position:relative;transition:transform .25s ease;will-change:transform}
.fx-confetti{position:fixed;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:2000}
.fx-balloon{position:absolute;z-index:0;cursor:pointer;display:block;animation:fx-sway 4.5s ease-in-out infinite alternate}
.fx-balloon svg{display:block;width:100%;height:auto;filter:drop-shadow(0 6px 8px rgba(0,0,0,.18))}
.fx-balloon:nth-child(odd){animation-duration:5.6s;animation-direction:alternate-reverse}
@keyframes fx-sway{from{transform:translateX(-10px) rotate(-4deg)}to{transform:translateX(10px) rotate(4deg)}}
.fx-spark{position:absolute;pointer-events:none;z-index:2000;line-height:1;text-shadow:0 0 8px currentColor}
.fx-rotor{display:inline-block;position:relative;top:0}
.fx-marquee{overflow:hidden;white-space:nowrap}
.fx-marquee-track{display:inline-flex;gap:0;animation:fx-marquee 38s linear infinite}
@media (hover:hover){.fx-marquee:hover .fx-marquee-track{animation-play-state:paused}}   /* mouse only: a tap on a phone must not freeze it */
@keyframes fx-marquee{to{transform:translateX(-50%)}}
html[data-motion="off"] .fx-pre{opacity:1;transform:none;transition:none}
html[data-motion="off"] .fx-marquee{white-space:normal;text-align:center}
html[data-motion="off"] .fx-marquee-track{animation:none;display:flex;flex-wrap:wrap;justify-content:center;transform:none}
html[data-motion="off"] .fx-marquee-track>:nth-child(2){display:none}
html[data-motion="off"] .fx-marquee-track>:first-child{flex-wrap:wrap;justify-content:center;row-gap:.4rem;padding:0 1rem}
html[data-motion="off"] .fx-balloon{animation:none}
@media (prefers-reduced-motion:reduce){
  html:not([data-motion="on"]) .fx-pre{opacity:1;transform:none;transition:none}
  html:not([data-motion="on"]) .fx-marquee{white-space:normal;text-align:center}
  html:not([data-motion="on"]) .fx-marquee-track{animation:none;display:flex;flex-wrap:wrap;justify-content:center;transform:none}
  html:not([data-motion="on"]) .fx-marquee-track>:nth-child(2){display:none}
  html:not([data-motion="on"]) .fx-marquee-track>:first-child{flex-wrap:wrap;justify-content:center;row-gap:.4rem;padding:0 1rem}
  html:not([data-motion="on"]) .fx-balloon{animation:none}
}

/* Animations switch (shown only when JavaScript has set data-motion) */
.fx-motion{display:none;position:fixed;right:12px;bottom:12px;z-index:1040;align-items:center;gap:.45rem;font:700 .74rem/1 inherit;letter-spacing:.04em;text-transform:none;color:#fff;background:rgba(20,24,40,.88);border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:.55rem .85rem;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.25);backdrop-filter:blur(4px)}
html[data-motion] .fx-motion{display:inline-flex}
.fx-motion:hover,.fx-motion:focus-visible{background:#000;border-color:#fff}
.fx-motion:focus-visible{outline:3px solid #ffb400;outline-offset:2px}
.fx-motion-dot{width:.7rem;height:.7rem;border-radius:50%;background:#8a8f9c;box-shadow:inset 0 0 0 2px rgba(255,255,255,.4)}
.fx-motion[aria-pressed="true"] .fx-motion-dot{background:#34d399;box-shadow:0 0 8px #34d399}
@media (max-width:991.98px){.fx-motion{bottom:76px}}
@media (max-width:575.98px){.fx-motion{font-size:.66rem;padding:.4rem .65rem;right:8px;opacity:.85}}
