    /* Destination card motion. The carousel carries the chosen effects in
       data-fx; each effect animates one named part of every scene. Clouds
       stay hidden unless an effect brings them in. */
    .sc-cloud { opacity: 0; }
    .sc-star, .sc-sun, .sc-halo, .sc-wave, .sc-fg, .sc-birds, .sc-cloud, .sc-streak {
      transform-box: fill-box;
      transform-origin: center;
    }
    .sc-star.tw { animation: scTwinkle 1.1s ease-in-out; }
    @keyframes scTwinkle {
      0%, 100% { transform: scale(1); opacity: 1; }
      35% { transform: scale(1.9) rotate(20deg); opacity: 1; }
      65% { transform: scale(0.55); opacity: 0.35; }
    }
    /* Drifting birds: a flapping flock crosses the visible cards as one
       flight. Its position comes from JS in screen terms, so it leaves one
       card and enters the next where they sit side by side. */
    .flock-layer {
      position: absolute;
      inset: 0;
      display: none;
      pointer-events: none;
    }
    .flock-layer svg {
      width: 100%;
      height: 100%;
      display: block;
      overflow: visible;
    }
    [data-fx~="birds"] .flock-layer { display: block; }
    [data-fx~="birds"] .sc-birds { opacity: 0; }

    [data-fx~="sun"] .sc-sun { animation: scSunPulse 5s ease-in-out infinite; }
    [data-fx~="sun"] .sc-halo { animation: scHaloPulse 5s ease-in-out infinite; }
    @keyframes scSunPulse { 50% { transform: scale(1.07); } }
    @keyframes scHaloPulse { 50% { opacity: 0.85; transform: scale(1.06, 1.12); } }
    [data-fx~="waves"] .sc-wave { animation: scWave 4.2s ease-in-out infinite; }
    @keyframes scWave {
      0%, 100% { transform: translate(0, 0); }
      50% { transform: translate(-7px, 2.5px); }
    }
    [data-fx~="sway"] .sc-fg { transform-origin: 20% 100%; animation: scSway 5.5s ease-in-out infinite; }
    /* The Côte d'Ivoire elephant stays put and every so often lifts its trunk. */
    .sc-trunk { transform-box: fill-box; transform-origin: 30% 4%; }
    [data-fx~="sway"] .sc-trunk { animation: scTrunk 9s ease-in-out infinite; }
    @keyframes scTrunk {
      0%, 70%, 92%, 100% { transform: rotate(0deg); }
      77% { transform: rotate(-128deg); }
      81% { transform: rotate(-112deg); }
      85% { transform: rotate(-128deg); }
    }
    @keyframes scSway {
      0%, 100% { transform: rotate(-1.2deg); }
      50% { transform: rotate(1.6deg); }
    }
    [data-fx~="shimmer"] .sc-streak { animation: scShimmer 2.6s ease-in-out infinite; }
    [data-fx~="shimmer"] .sc-streak:nth-of-type(2n) { animation-delay: -1.3s; }
    @keyframes scShimmer {
      0%, 100% { opacity: 0.15; transform: translateX(-6px) scaleX(0.7); }
      50% { opacity: 1; transform: translateX(6px) scaleX(1.15); }
    }
    [data-fx~="clouds"] .sc-cloud { opacity: 1; animation: scCloud 28s linear infinite; }
    @keyframes scCloud {
      0% { transform: translateX(-120px); }
      100% { transform: translateX(300px); }
    }

