/* Looping previews of the style choices (animation, opening screen, falling shapes, photo gallery, ornament).
   Classes prefixed fx-. Everything here is decoration; it stops for visitors who prefer reduced motion. */

/* --- Choice cards that carry a picture ---------------------------------------------------------------------------- */
.si-choices-fx {
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
}
.si-choices-fx .si-choice-body {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 8px;
}
.si-choices-fx .si-choice-body > span:last-child {
  text-align: center;
}
.si-choices-fx .si-choice b {
  font-size: 13px;
  font-weight: 650;
}

/* --- The picture ------------------------------------------------------------------------------------------------ */
.fx {
  --fx-ink: var(--si-accent, #285e7d);
  position: relative;
  display: block;
  width: 100%;
  height: 68px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(#f4f8fb, #e3ecf2);
  color: var(--fx-ink);
  perspective: 260px;
}
.fx i,
.fx span,
.fx u {
  display: block;
}
.fx-default {
  border: 1.5px dashed var(--si-line, #c8d4dc);
  background: #fff;
}
.fx-none {
  display: grid;
  place-items: center;
  background: #f4f6f8;
}
.fx-none::after {
  content: '';
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: #9aa8b3;
  transform: rotate(-28deg);
}

/* --- Animations: three little sections arriving, each in its own way ---------------------------------------------- */
.fx-motion {
  display: grid;
  gap: 5px;
  padding: 8px 14px;
  grid-template-rows: repeat(3, 1fr);
}
.fx-motion i {
  --dx: -26px;
  border-radius: 4px;
  background:
    linear-gradient(var(--fx-ink) 0 0) 6px 50% / 38% 3px no-repeat,
    linear-gradient(#fff 0 0);
  box-shadow: 0 1px 3px rgb(20 40 60 / 18%);
  animation: 4s ease-in-out infinite both;
}
.fx-motion i:nth-child(2) {
  --dx: 26px;
  animation-delay: 0.3s;
}
.fx-motion i:nth-child(3) {
  animation-delay: 0.6s;
}
.fx-motion-reveal i,
.fx-motion-lively i {
  animation-name: fx-rise;
}
.fx-motion-lively i {
  animation-name: fx-rise-tilt;
}
.fx-motion-zoom i {
  animation-name: fx-zoom;
}
.fx-motion-slide i {
  animation-name: fx-slide;
}
.fx-motion-flip i {
  transform-origin: 50% 0;
  animation-name: fx-flip;
}
.fx-motion-wipe i {
  animation-name: fx-wipe;
}
.fx-motion-float i {
  animation: fx-bob 2.6s ease-in-out infinite;
}
.fx-motion-float i:nth-child(2) {
  animation-delay: -0.9s;
}
.fx-motion-float i:nth-child(3) {
  animation-delay: -1.7s;
}
.fx-motion-glow i {
  animation: fx-glow 2.4s ease-in-out infinite;
}
.fx-motion-glow i:nth-child(2) {
  animation-delay: 0.4s;
}
.fx-motion-glow i:nth-child(3) {
  animation-delay: 0.8s;
}
@keyframes fx-rise {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  16%,
  82% {
    opacity: 1;
    transform: none;
  }
  96%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes fx-rise-tilt {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  16% {
    opacity: 1;
    transform: none;
  }
  38% {
    transform: rotateX(14deg) rotateY(-12deg);
  }
  62% {
    transform: rotateX(-10deg) rotateY(12deg);
  }
  82% {
    opacity: 1;
    transform: none;
  }
  96%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes fx-zoom {
  0% {
    opacity: 0;
    transform: scale(0.45);
  }
  16%,
  82% {
    opacity: 1;
    transform: none;
  }
  96%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes fx-slide {
  0% {
    opacity: 0;
    transform: translateX(var(--dx));
  }
  16%,
  82% {
    opacity: 1;
    transform: none;
  }
  96%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes fx-flip {
  0% {
    opacity: 0;
    transform: rotateX(-85deg);
  }
  18%,
  82% {
    opacity: 1;
    transform: none;
  }
  96%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes fx-wipe {
  0% {
    clip-path: inset(0 0 100% 0);
  }
  22%,
  82% {
    clip-path: inset(0 0 0 0);
  }
  96%,
  100% {
    clip-path: inset(0 0 0 100%);
  }
}
@keyframes fx-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
@keyframes fx-glow {
  0%,
  100% {
    box-shadow:
      0 1px 3px rgb(20 40 60 / 18%),
      0 0 0 0 transparent;
  }
  50% {
    box-shadow:
      0 1px 3px rgb(20 40 60 / 18%),
      0 0 10px 2px color-mix(in srgb, var(--fx-ink) 65%, transparent);
  }
}

/* --- Photo gallery ----------------------------------------------------------------------------------------------- */
.fx-gallery .fx-track {
  position: absolute;
  inset: 8px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 5px;
  transform-style: preserve-3d;
}
.fx-gallery i {
  border-radius: 3px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--fx-ink) 55%, #fff), var(--fx-ink));
  box-shadow: 0 1px 3px rgb(20 40 60 / 22%);
}
.fx-gallery-grid i {
  animation: fx-pop 3.2s ease-in-out infinite both;
}
.fx-gallery-grid i:nth-child(2) {
  animation-delay: 0.25s;
}
.fx-gallery-grid i:nth-child(3) {
  animation-delay: 0.5s;
}
.fx-gallery-grid i:nth-child(4) {
  animation-delay: 0.75s;
}
@keyframes fx-pop {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.9);
  }
  25%,
  70% {
    opacity: 1;
    transform: none;
  }
}
.fx-gallery-ring .fx-track {
  inset: 16px 0;
  display: block;
  width: 36px;
  margin: 0 auto;
  animation: fx-spin 6s linear infinite;
}
.fx-gallery-ring i {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
}
.fx-gallery-ring i:nth-child(1) {
  transform: rotateY(0deg) translateZ(34px);
}
.fx-gallery-ring i:nth-child(2) {
  transform: rotateY(90deg) translateZ(34px);
}
.fx-gallery-ring i:nth-child(3) {
  transform: rotateY(180deg) translateZ(34px);
}
.fx-gallery-ring i:nth-child(4) {
  transform: rotateY(270deg) translateZ(34px);
}
@keyframes fx-spin {
  to {
    transform: rotateY(-360deg);
  }
}
.fx-gallery-tilt .fx-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.fx-gallery-tilt i {
  width: 26px;
  height: 36px;
  margin: 0 -3px;
  animation: fx-tilt 3.4s ease-in-out infinite;
}
.fx-gallery-tilt i:nth-child(2n) {
  animation-delay: -1.1s;
}
.fx-gallery-tilt i:nth-child(4) {
  display: none;
}
@keyframes fx-tilt {
  0%,
  100% {
    transform: rotateY(-28deg) rotate(-5deg);
  }
  50% {
    transform: rotateY(28deg) rotate(5deg);
  }
}
.fx-gallery-polaroid .fx-track {
  display: block;
}
.fx-gallery-polaroid i {
  position: absolute;
  width: 30px;
  height: 36px;
  padding: 3px 3px 9px;
  border-radius: 1px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--fx-ink) 55%, #fff), var(--fx-ink)) 3px 3px / 24px 24px
      no-repeat,
    #fff;
  animation: fx-drop 4s cubic-bezier(0.2, 0.8, 0.2, 1) infinite both;
}
.fx-gallery-polaroid i:nth-child(1) {
  left: 4px;
  top: 4px;
  --r: -9deg;
}
.fx-gallery-polaroid i:nth-child(2) {
  left: 36px;
  top: 8px;
  --r: 6deg;
  animation-delay: 0.3s;
}
.fx-gallery-polaroid i:nth-child(3) {
  left: 62px;
  top: 3px;
  --r: -4deg;
  animation-delay: 0.6s;
}
.fx-gallery-polaroid i:nth-child(4) {
  display: none;
}
@keyframes fx-drop {
  0% {
    opacity: 0;
    transform: translateY(-26px) rotate(calc(var(--r) * 3));
  }
  18%,
  84% {
    opacity: 1;
    transform: rotate(var(--r));
  }
  98%,
  100% {
    opacity: 0;
    transform: rotate(var(--r));
  }
}
.fx-gallery-mosaic .fx-track {
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.fx-gallery-mosaic i:nth-child(1) {
  grid-row: 1 / 3;
}
.fx-gallery-mosaic i:nth-child(4) {
  grid-column: 2 / 4;
}
.fx-gallery-mosaic i {
  animation: fx-pop 3.6s ease-in-out infinite both;
}
.fx-gallery-mosaic i:nth-child(2) {
  animation-delay: 0.3s;
}
.fx-gallery-mosaic i:nth-child(3) {
  animation-delay: 0.6s;
}
.fx-gallery-mosaic i:nth-child(4) {
  animation-delay: 0.9s;
}

/* --- Ornament: the motif draws itself ---------------------------------------------------------------------------- */
.fx-ornament {
  display: grid;
  place-items: center;
}
.fx-ornament svg {
  width: 88%;
  max-width: none;
  height: auto;
  margin: 0;
  color: var(--fx-ink);
}
.fx-ornament svg.invite-orn-arch {
  width: 40px;
}
.fx-ornament svg * {
  stroke-dasharray: 130;
  animation: fx-draw 4s ease-in-out infinite both;
}
.fx-ornament svg circle[fill] {
  stroke-dasharray: none;
  animation: fx-fade 4s ease-in-out infinite both;
}
@keyframes fx-draw {
  0% {
    stroke-dashoffset: 130;
  }
  40%,
  86% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}
@keyframes fx-fade {
  0%,
  30% {
    opacity: 0;
  }
  50%,
  86% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.fx-frame {
  width: 62px;
  height: 42px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  box-shadow:
    inset 0 0 0 4px #f4f8fb,
    inset 0 0 0 5.5px currentColor;
  animation: fx-frame 4s ease-in-out infinite both;
}
@keyframes fx-frame {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  30%,
  86% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
    transform: none;
  }
}

/* --- Falling shapes ------------------------------------------------------------------------------------------------ */
.fx-particles i {
  position: absolute;
  top: -12px;
  width: 9px;
  height: 9px;
  background: var(--fx-ink);
  opacity: 0.85;
  animation: fx-fall 3.2s linear infinite;
}
.fx-particles i:nth-child(1) {
  left: 10%;
}
.fx-particles i:nth-child(2) {
  left: 28%;
  animation-delay: -1.3s;
  animation-duration: 3.8s;
}
.fx-particles i:nth-child(3) {
  left: 46%;
  animation-delay: -2.2s;
}
.fx-particles i:nth-child(4) {
  left: 62%;
  animation-delay: -0.6s;
  animation-duration: 3.5s;
}
.fx-particles i:nth-child(5) {
  left: 78%;
  animation-delay: -1.9s;
}
.fx-particles i:nth-child(6) {
  left: 90%;
  animation-delay: -2.7s;
  animation-duration: 3.9s;
}
.fx-particles-petals i {
  border-radius: 0 100% 0 100%;
  background: color-mix(in srgb, var(--fx-ink) 50%, #f2a5b8);
}
.fx-particles-hearts i,
.fx-particles-stars i {
  width: 11px;
  height: 11px;
  -webkit-mask: var(--m) center / contain no-repeat;
  mask: var(--m) center / contain no-repeat;
}
.fx-particles-hearts i {
  --m: url('/art/forme/coeur.svg');
}
.fx-particles-stars i {
  --m: url('/art/forme/etoile.svg');
}
.fx-particles-confetti i {
  width: 5px;
  height: 9px;
  border-radius: 1px;
}
.fx-particles-confetti i:nth-child(3n + 1) {
  background: #e0654a;
}
.fx-particles-confetti i:nth-child(3n + 2) {
  background: #e8b53a;
}
.fx-particles-confetti i:nth-child(3n) {
  background: #3f8fb5;
}
.fx-particles-bubbles i {
  top: auto;
  bottom: -12px;
  width: 10px;
  height: 10px;
  border: 1.5px solid color-mix(in srgb, var(--fx-ink) 70%, #fff);
  border-radius: 50%;
  background: color-mix(in srgb, var(--fx-ink) 12%, transparent);
  animation-name: fx-rise-bubble;
}
@keyframes fx-fall {
  to {
    transform: translateY(84px) rotate(260deg);
  }
}
@keyframes fx-rise-bubble {
  to {
    transform: translateY(-84px);
  }
}

/* --- Opening screens: the greeting opens on the page ------------------------------------------------------------- */
.fx-opening .fx-op-page {
  position: absolute;
  inset: 9px 28px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 0 10px;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 1px 4px rgb(20 40 60 / 25%);
}
.fx-opening .fx-op-page u {
  height: 3px;
  border-radius: 2px;
  background: var(--fx-ink);
  opacity: 0.55;
}
.fx-opening .fx-op-page u:first-child {
  width: 60%;
  opacity: 1;
}
.fx-opening-card .fx-op-card,
.fx-opening-book .fx-op-cover {
  position: absolute;
  inset: 9px 28px;
  border-radius: 3px;
  background: var(--fx-ink);
  transform-origin: 0 50%;
  animation: fx-hinge 4s ease-in-out infinite both;
}
.fx-opening-book .fx-op-cover {
  border-radius: 2px 6px 6px 2px;
  box-shadow: inset 4px 0 0 rgb(0 0 0 / 22%);
}
.fx-opening-card .fx-op-card {
  animation-name: fx-hinge-card;
}
@keyframes fx-hinge {
  0%,
  14% {
    transform: none;
  }
  45%,
  82% {
    transform: rotateY(-155deg);
  }
  100% {
    transform: none;
  }
}
@keyframes fx-hinge-card {
  0%,
  14% {
    transform: none;
    opacity: 1;
  }
  45%,
  82% {
    transform: rotateY(-110deg);
    opacity: 0.2;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
.fx-opening-envelope .fx-op-page {
  inset: 14px 30px 9px;
  animation: fx-letter 4s ease-in-out infinite both;
}
.fx-opening-envelope .fx-op-body,
.fx-opening-envelope .fx-op-flap {
  position: absolute;
  left: 22px;
  right: 22px;
  background: color-mix(in srgb, var(--fx-ink) 80%, #fff);
}
.fx-opening-envelope .fx-op-body {
  top: 24px;
  bottom: 9px;
  border-radius: 0 0 4px 4px;
  background: var(--fx-ink);
  clip-path: polygon(0 0, 50% 55%, 100% 0, 100% 100%, 0 100%);
}
.fx-opening-envelope .fx-op-flap {
  top: 9px;
  height: 22px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: 50% 0;
  animation: fx-flap 4s ease-in-out infinite both;
}
@keyframes fx-flap {
  0%,
  14% {
    transform: none;
  }
  40%,
  82% {
    transform: rotateX(178deg);
  }
  100% {
    transform: none;
  }
}
@keyframes fx-letter {
  0%,
  30% {
    transform: translateY(12px);
  }
  58%,
  82% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(12px);
  }
}
.fx-opening-curtain .fx-op-l,
.fx-opening-curtain .fx-op-r,
.fx-opening-doors .fx-op-l,
.fx-opening-doors .fx-op-r {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: var(--fx-ink);
}
.fx-opening-curtain .fx-op-l {
  left: 0;
  animation: fx-curtain-l 4s ease-in-out infinite both;
}
.fx-opening-curtain .fx-op-r {
  right: 0;
  animation: fx-curtain-r 4s ease-in-out infinite both;
}
.fx-opening-doors .fx-op-l {
  left: 0;
  border-right: 2px solid #f6dc8e;
  transform-origin: 0 50%;
  animation: fx-door-l 4s ease-in-out infinite both;
}
.fx-opening-doors .fx-op-r {
  right: 0;
  border-left: 2px solid #f6dc8e;
  transform-origin: 100% 50%;
  animation: fx-door-r 4s ease-in-out infinite both;
}
@keyframes fx-curtain-l {
  0%,
  14% {
    transform: none;
  }
  45%,
  82% {
    transform: translateX(-100%);
  }
  100% {
    transform: none;
  }
}
@keyframes fx-curtain-r {
  0%,
  14% {
    transform: none;
  }
  45%,
  82% {
    transform: translateX(100%);
  }
  100% {
    transform: none;
  }
}
@keyframes fx-door-l {
  0%,
  14% {
    transform: none;
  }
  45%,
  82% {
    transform: rotateY(-100deg);
  }
  100% {
    transform: none;
  }
}
@keyframes fx-door-r {
  0%,
  14% {
    transform: none;
  }
  45%,
  82% {
    transform: rotateY(100deg);
  }
  100% {
    transform: none;
  }
}

/* More greeting screens: gift, ticket, lens, blinds, wax seal */
.fx-opening-gift .fx-op-page {
  opacity: 0;
  animation: fx-appear 4s ease-in-out infinite both;
}
.fx-opening-gift .fx-op-box,
.fx-opening-gift .fx-op-lid {
  position: absolute;
  left: calc(50% - 22px);
  width: 44px;
  background: linear-gradient(90deg, transparent 40%, #f3dd9a 40% 60%, transparent 60%), var(--fx-ink);
}
.fx-opening-gift .fx-op-box {
  bottom: 8px;
  height: 28px;
  border-radius: 0 0 3px 3px;
}
.fx-opening-gift .fx-op-lid {
  bottom: 34px;
  left: calc(50% - 26px);
  width: 52px;
  height: 11px;
  border-radius: 3px;
  animation: fx-lid 4s ease-in-out infinite both;
}
@keyframes fx-lid {
  0%,
  16% {
    opacity: 1;
    transform: none;
  }
  42%,
  80% {
    opacity: 0;
    transform: translateY(-26px) rotate(-18deg);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes fx-appear {
  0%,
  26% {
    opacity: 0;
    transform: scale(0.7);
  }
  50%,
  82% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
    transform: scale(0.7);
  }
}
.fx-opening-ticket .fx-op-main,
.fx-opening-ticket .fx-op-stub {
  position: absolute;
  top: 16px;
  bottom: 16px;
  background: var(--fx-ink);
  animation: fx-tear-l 4s ease-in-out infinite both;
}
.fx-opening-ticket .fx-op-main {
  left: 14px;
  right: 50px;
  border-radius: 4px 0 0 4px;
}
.fx-opening-ticket .fx-op-stub {
  right: 14px;
  width: 32px;
  border-radius: 0 4px 4px 0;
  border-left: 2px dashed rgb(255 255 255 / 70%);
  animation-name: fx-tear-r;
}
@keyframes fx-tear-l {
  0%,
  16% {
    opacity: 1;
    transform: none;
  }
  46%,
  82% {
    opacity: 0;
    transform: translate(-16px, 3px) rotate(-8deg);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes fx-tear-r {
  0%,
  16% {
    opacity: 1;
    transform: none;
  }
  46%,
  82% {
    opacity: 0;
    transform: translate(18px, 12px) rotate(16deg);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
.fx-opening-iris .fx-op-iris {
  position: absolute;
  inset: 0;
  --iris-r: 0%;
  background: var(--fx-ink);
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent var(--iris-r), #000 calc(var(--iris-r) + 1%));
  mask: radial-gradient(circle at 50% 50%, transparent var(--iris-r), #000 calc(var(--iris-r) + 1%));
  animation: fx-iris 4s ease-in-out infinite both;
}
@keyframes fx-iris {
  0%,
  14% {
    --iris-r: 0%;
  }
  60%,
  84% {
    --iris-r: 150%;
  }
  100% {
    --iris-r: 0%;
  }
}
.fx-opening-blinds .fx-op-slat {
  position: absolute;
  left: 0;
  right: 0;
  height: 20%;
  background: linear-gradient(color-mix(in srgb, var(--fx-ink) 80%, #fff), var(--fx-ink));
  box-shadow: 0 1px 0 rgb(0 0 0 / 25%);
  animation: fx-slat 4s ease-in-out infinite both;
}
.fx-opening-blinds .fx-op-slat:nth-child(2) {
  top: 0;
}
.fx-opening-blinds .fx-op-slat:nth-child(3) {
  top: 20%;
  animation-delay: 0.1s;
}
.fx-opening-blinds .fx-op-slat:nth-child(4) {
  top: 40%;
  animation-delay: 0.2s;
}
.fx-opening-blinds .fx-op-slat:nth-child(5) {
  top: 60%;
  animation-delay: 0.3s;
}
.fx-opening-blinds .fx-op-slat:nth-child(6) {
  top: 80%;
  animation-delay: 0.4s;
}
@keyframes fx-slat {
  0%,
  14% {
    transform: none;
  }
  46%,
  82% {
    transform: rotateX(90deg);
  }
  100% {
    transform: none;
  }
}
.fx-opening-seal .fx-op-seal {
  position: absolute;
  left: calc(50% - 10px);
  bottom: 6px;
  width: 20px;
  height: 20px;
}
.fx-opening-seal .fx-op-seal i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--fx-ink);
  box-shadow: 0 0 0 2px #fff;
  animation: fx-crack-l 4s ease-in-out infinite both;
}
.fx-opening-seal .fx-op-seal i:first-child {
  clip-path: polygon(0 0, 54% 0, 44% 35%, 58% 65%, 46% 100%, 0 100%);
}
.fx-opening-seal .fx-op-seal i:last-child {
  clip-path: polygon(54% 0, 100% 0, 100% 100%, 46% 100%, 58% 65%, 44% 35%);
  animation-name: fx-crack-r;
}
@keyframes fx-crack-l {
  0%,
  18% {
    opacity: 1;
    transform: none;
  }
  46%,
  84% {
    opacity: 0;
    transform: translate(-9px, 6px) rotate(-26deg);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes fx-crack-r {
  0%,
  18% {
    opacity: 1;
    transform: none;
  }
  46%,
  84% {
    opacity: 0;
    transform: translate(9px, 8px) rotate(26deg);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

/* --- Reduced motion: the pictures stay still, showing the end of each effect --------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .fx *,
  .fx *::before,
  .fx *::after {
    animation: none !important;
  }
  .fx-particles i {
    top: 14px;
  }
  .fx-gallery-ring .fx-track {
    transform: rotateY(-20deg);
  }
}

/* --- Presentation of a section: a real miniature of the section for each choice ----------------------------------- */
.si-choices-look {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}
.si-choices-look .si-choice-body {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 8px;
}
.si-choices-look .si-choice-body > span:last-child {
  text-align: center;
}
.si-choices-look b {
  font-size: 13px;
  font-weight: 650;
}
.lk-screen {
  position: relative;
  display: block;
  width: 100%;
  height: var(--h, 96px);
  overflow: hidden;
  border: 1px solid var(--si-line, #d6dfe6);
  border-radius: 8px;
  background: #f4f6f8;
  pointer-events: none;
}
.lk-scale {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 390px;
  transform: scale(var(--k, 0.35));
  transform-origin: 0 0;
}
.lk-scale .invite-signature {
  display: none;
}
/* A miniature stands still: it shows the look, not the entrance. */
.lk-screen *,
.lk-screen *::before,
.lk-screen *::after {
  animation: none !important;
  transition: none !important;
}
.lk-screen [data-rv] {
  opacity: 1;
  transform: none;
}

/* --- Quick moods ------------------------------------------------------------------------------------------------- */
.pr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.pr-card {
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--si-line, #d6dfe6);
  border-radius: 12px;
  background: #fff;
  color: var(--si-ink);
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.pr-card:hover {
  border-color: #7dbbde;
}
.pr-card:focus-visible {
  outline: 3px solid #86b6d2;
  outline-offset: 2px;
}
.pr-card[aria-pressed='true'] {
  border-color: #39799f;
  box-shadow: inset 0 0 0 1px #39799f;
  background: #f3f9fd;
}
.pr-card b {
  font-size: 14px;
}
.pr-card small {
  color: var(--si-muted);
  font-size: 12px;
  line-height: 1.35;
}
.pr-card .lk-screen {
  --h: 120px;
}
@media (prefers-reduced-motion: reduce) {
  .pr-card {
    transition: none;
  }
}

/* --- Previews of the newer choices ---------------------------------------------------------------------------------- */
/* Falling shapes: snow, leaves, sparkles, feathers */
.fx-particles-snow i {
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 5px #fff;
}
.fx-particles-leaves i,
.fx-particles-sparkles i,
.fx-particles-feathers i {
  -webkit-mask: var(--m) center / contain no-repeat;
  mask: var(--m) center / contain no-repeat;
}
.fx-particles-leaves i {
  --m: url('/art/forme/feuille.svg');
  width: 8px;
  height: 11px;
  background: color-mix(in srgb, var(--fx-ink) 55%, #7aa05a);
}
.fx-particles-sparkles i {
  --m: url('/art/forme/etoile.svg');
  width: 10px;
  height: 10px;
  background: #f0c542;
}
.fx-particles-feathers i {
  --m: url('/art/forme/plume.svg');
  width: 5px;
  height: 13px;
  background: color-mix(in srgb, var(--fx-ink) 40%, #fff);
}

/* Entrances: rise, blur, bounce, swing, shimmer */
.fx-motion-rise i {
  animation-name: fx-rise-high;
}
.fx-motion-blur i {
  animation-name: fx-blur;
}
.fx-motion-bounce i {
  animation-name: fx-bounce;
}
.fx-motion-swing i {
  transform-origin: 50% 0;
  animation-name: fx-swing;
}
.fx-motion-shimmer i {
  background:
    linear-gradient(100deg, transparent 30%, rgb(255 255 255 / 85%) 50%, transparent 70%) 0 0 / 250% 100%,
    linear-gradient(var(--fx-ink) 0 0) 6px 50% / 38% 3px no-repeat,
    linear-gradient(#fff 0 0);
  animation: fx-shine 2.6s linear infinite;
}
@keyframes fx-rise-high {
  0% {
    opacity: 0;
    transform: translateY(26px);
  }
  18%,
  82% {
    opacity: 1;
    transform: none;
  }
  96%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes fx-blur {
  0% {
    opacity: 0;
    filter: blur(6px);
  }
  18%,
  82% {
    opacity: 1;
    filter: none;
  }
  96%,
  100% {
    opacity: 0;
    filter: none;
  }
}
@keyframes fx-bounce {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.85);
  }
  14% {
    opacity: 1;
    transform: translateY(-4px) scale(1.04);
  }
  22%,
  82% {
    opacity: 1;
    transform: none;
  }
  96%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes fx-swing {
  0% {
    opacity: 0;
    transform: rotate(-9deg) translateY(10px);
  }
  18%,
  82% {
    opacity: 1;
    transform: none;
  }
  96%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes fx-shine {
  to {
    background-position:
      -250% 0,
      6px 50%,
      0 0;
  }
}

/* Galleries: staggered columns, scrolling strip, pile, medallions, arches */
.fx-gallery-masonry .fx-track {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1.4fr 1fr 1fr;
}
.fx-gallery-masonry i:nth-child(1) {
  grid-row: 1 / 3;
}
.fx-gallery-masonry i:nth-child(2) {
  grid-row: 1 / 2;
}
.fx-gallery-masonry i:nth-child(3) {
  grid-row: 3 / 4;
}
.fx-gallery-masonry i:nth-child(4) {
  grid-row: 2 / 4;
}
.fx-gallery-masonry i {
  animation: fx-pop 3.4s ease-in-out infinite both;
}
.fx-gallery-carousel .fx-track {
  inset: 12px 0;
  display: flex;
  gap: 5px;
  padding-left: 14px;
  animation: fx-strip 4.4s ease-in-out infinite;
}
.fx-gallery-carousel i {
  flex: 0 0 58%;
}
.fx-gallery-stack .fx-track {
  display: block;
}
.fx-gallery-stack i {
  position: absolute;
  top: 6px;
  left: 28%;
  width: 44%;
  height: 78%;
  border: 3px solid #fff;
  border-radius: 2px;
}
.fx-gallery-stack i:nth-child(1) {
  transform: rotate(-9deg) translateX(-12px);
}
.fx-gallery-stack i:nth-child(2) {
  transform: rotate(6deg) translateX(10px);
}
.fx-gallery-stack i:nth-child(3) {
  transform: rotate(-2deg);
  animation: fx-pop 3.4s ease-in-out infinite both;
}
.fx-gallery-stack i:nth-child(4) {
  display: none;
}
.fx-gallery-circles i,
.fx-gallery-arches i {
  animation: fx-pop 3.4s ease-in-out infinite both;
}
.fx-gallery-circles i {
  border-radius: 50%;
}
.fx-gallery-circles i:nth-child(even) {
  animation-delay: 0.4s;
}
.fx-gallery-arches i {
  border-radius: 50% 50% 2px 2px;
}
.fx-gallery-arches i:nth-child(even) {
  animation-delay: 0.4s;
}
@keyframes fx-strip {
  50% {
    transform: translateX(-30%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .fx-motion-shimmer i,
  .fx-gallery-carousel .fx-track {
    animation: none;
  }
}

/* --- Previews of the newer opening screens: flower, tiles, roller shutter, balloons, starry sky, candle ------------ */
.fx-opening-flower .fx-op-w {
  position: absolute;
  inset: 0;
  background: var(--fx-ink);
  animation: fx-petal 4s ease-in-out infinite both;
}
.fx-opening-flower .fx-op-w1 {
  clip-path: polygon(50% 50%, 0 0, 100% 0);
  --px: 0;
  --py: -110%;
}
.fx-opening-flower .fx-op-w2 {
  clip-path: polygon(50% 50%, 100% 0, 100% 100%);
  background: color-mix(in srgb, var(--fx-ink) 78%, #fff);
  --px: 110%;
  --py: 0;
}
.fx-opening-flower .fx-op-w3 {
  clip-path: polygon(50% 50%, 100% 100%, 0 100%);
  --px: 0;
  --py: 110%;
}
.fx-opening-flower .fx-op-w4 {
  clip-path: polygon(50% 50%, 0 100%, 0 0);
  background: color-mix(in srgb, var(--fx-ink) 78%, #fff);
  --px: -110%;
  --py: 0;
}
@keyframes fx-petal {
  0%,
  14% {
    transform: none;
  }
  50%,
  82% {
    transform: translate(var(--px), var(--py));
  }
  100% {
    transform: none;
  }
}
.fx-opening-tiles .fx-op-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
}
.fx-opening-tiles .fx-op-grid i {
  background: var(--fx-ink);
  border: 0;
  border-radius: 0;
  animation: fx-tile 4s ease-in-out infinite both;
}
.fx-opening-tiles .fx-op-grid i:nth-child(odd) {
  background: color-mix(in srgb, var(--fx-ink) 80%, #fff);
}
.fx-opening-tiles .fx-op-grid i:nth-child(5),
.fx-opening-tiles .fx-op-grid i:nth-child(8) {
  animation-delay: 0.08s;
}
.fx-opening-tiles .fx-op-grid i:nth-child(6),
.fx-opening-tiles .fx-op-grid i:nth-child(7) {
  animation-delay: 0s;
}
.fx-opening-tiles .fx-op-grid i:nth-child(1),
.fx-opening-tiles .fx-op-grid i:nth-child(4),
.fx-opening-tiles .fx-op-grid i:nth-child(9),
.fx-opening-tiles .fx-op-grid i:nth-child(12) {
  animation-delay: 0.3s;
}
@keyframes fx-tile {
  0%,
  14% {
    opacity: 1;
    transform: none;
  }
  46%,
  82% {
    opacity: 0;
    transform: scale(0) rotate(90deg);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
.fx-opening-roller .fx-op-roll {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    color-mix(in srgb, var(--fx-ink) 82%, #fff) 0 6px,
    var(--fx-ink) 6px 9px
  );
  box-shadow: inset 0 -5px 0 rgb(0 0 0 / 35%);
  animation: fx-roll 4s ease-in-out infinite both;
}
@keyframes fx-roll {
  0%,
  14% {
    transform: none;
  }
  50%,
  82% {
    transform: translateY(-100%);
  }
  100% {
    transform: none;
  }
}
.fx-opening-balloons .fx-op-bal {
  position: absolute;
  bottom: -2px;
  width: 15px;
  height: 20px;
  border-radius: 50% 50% 46% 46%;
  background: var(--fx-ink);
  animation: fx-balloon 4s ease-in infinite both;
}
.fx-opening-balloons .fx-op-bal:nth-child(2) {
  left: 24%;
  background: #f2a5b8;
}
.fx-opening-balloons .fx-op-bal:nth-child(3) {
  left: 46%;
  background: #f5c542;
  animation-delay: 0.15s;
}
.fx-opening-balloons .fx-op-bal:nth-child(4) {
  left: 68%;
  background: #7ec8e3;
  animation-delay: 0.3s;
}
@keyframes fx-balloon {
  0%,
  16% {
    transform: none;
    opacity: 1;
  }
  60%,
  82% {
    transform: translateY(-90px);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
.fx-opening-stars .fx-op-sky {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--fx-ink) 40%, #0a0f24), #05070f 80%);
}
.fx-opening-stars .fx-op-sky i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  animation: fx-star 4s ease-in-out infinite both;
}
.fx-opening-stars .fx-op-sky i:nth-child(1) {
  top: 20%;
  left: 18%;
  --sx: -26px;
  --sy: -16px;
}
.fx-opening-stars .fx-op-sky i:nth-child(2) {
  top: 62%;
  left: 30%;
  --sx: -20px;
  --sy: 18px;
}
.fx-opening-stars .fx-op-sky i:nth-child(3) {
  top: 30%;
  left: 52%;
  --sx: 4px;
  --sy: -22px;
}
.fx-opening-stars .fx-op-sky i:nth-child(4) {
  top: 70%;
  left: 62%;
  --sx: 22px;
  --sy: 20px;
}
.fx-opening-stars .fx-op-sky i:nth-child(5) {
  top: 24%;
  left: 80%;
  --sx: 28px;
  --sy: -14px;
}
.fx-opening-stars .fx-op-sky i:nth-child(6) {
  top: 48%;
  left: 40%;
  --sx: -8px;
  --sy: 4px;
}
.fx-opening-stars .fx-op-sky i:nth-child(7) {
  top: 54%;
  left: 74%;
  --sx: 26px;
  --sy: 6px;
}
@keyframes fx-star {
  0%,
  14% {
    transform: none;
    opacity: 1;
  }
  60%,
  82% {
    transform: translate(var(--sx), var(--sy)) scale(4);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
.fx-opening-candle .fx-op-night {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 66%, color-mix(in srgb, var(--fx-ink) 35%, #2b1b0a), #070504 78%);
}
.fx-opening-candle .fx-op-night::before {
  content: '';
  position: absolute;
  bottom: 6px;
  left: calc(50% - 4px);
  width: 8px;
  height: 22px;
  border-radius: 2px;
  background: #f3e5c1;
}
.fx-opening-candle .fx-op-night i {
  position: absolute;
  bottom: 28px;
  left: calc(50% - 3px);
  width: 6px;
  height: 11px;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: radial-gradient(ellipse at 50% 70%, #fff7c4, #ffa82e);
  transform-origin: 50% 100%;
  animation: fx-flame 4s ease-in-out infinite both;
}
@keyframes fx-flame {
  0%,
  30% {
    transform: scale(1, 1);
    opacity: 1;
  }
  15% {
    transform: scale(0.9, 1.1);
  }
  45%,
  82% {
    transform: scale(0.1) translateY(2px);
    opacity: 0;
  }
  100% {
    transform: scale(1, 1);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fx-opening-flower .fx-op-w,
  .fx-opening-tiles .fx-op-grid i,
  .fx-opening-roller .fx-op-roll,
  .fx-opening-balloons .fx-op-bal,
  .fx-opening-stars .fx-op-sky i,
  .fx-opening-candle .fx-op-night i {
    animation: none;
  }
}

/* --- Transition between sections: two blocks and the real separator, drawn with the page's own rules --------------- */
.fx-transition {
  --invite-accent: var(--fx-ink);
  --invite-bg: #f4f8fb;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}
.fx-transition .fx-tr-a,
.fx-transition .fx-tr-b {
  flex: none;
  height: 7px;
  margin: 0 12px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--fx-ink) 22%, #fff);
}
.fx-transition .invite-sep {
  flex: none;
  animation: none;
}
/* The scroll-driven arrival does not exist here: the line draws itself in a loop instead */
.fx-transition-draw .invite-sep > b {
  animation: fx-tr-draw 2.8s ease-in-out infinite;
}
@keyframes fx-tr-draw {
  0%,
  15% {
    transform: scaleX(0);
  }
  60%,
  100% {
    transform: scaleX(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .fx-transition-draw .invite-sep > b {
    animation: none;
  }
}

/* --- The choice of decor: groups by occasion, a real miniature of each ------------------------------------------------ */
.si-choices-decor {
  display: block;
}
.si-decor-grid {
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
}
.si-decor-grid .lk-screen {
  --h: 150px;
}
.si-decor-group {
  margin-top: 12px;
  border-top: 1px solid var(--si-line, #d6dfe6);
  padding-top: 10px;
}
.si-decor-group > summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0 10px;
  cursor: pointer;
  list-style: none;
}
.si-decor-group > summary::-webkit-details-marker {
  display: none;
}
.si-decor-group > summary::before {
  content: '▸';
  color: var(--si-muted, #5b6b78);
}
.si-decor-group[open] > summary::before {
  content: '▾';
}
.si-decor-group small {
  color: var(--si-muted, #5b6b78);
}
