/* amazon-noel.css
 * Feuille de la carte publicitaire Amazon « Noël », sortie de template_parts/banner_amazon_noel.php le 18/11/2026
 * (elle était écrite en ligne dans CHAQUE page : 24 Ko de HTML). Chargée par
 * rk_amazon_css_link() (libs/rk_amazon_products.lib.php), hors minification
 * WP Rocket : une modification ici est servie dès l'envoi du fichier (?ver = date du fichier).
 */
@property --xm-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

.rkxm {
    --xm-ink: #f4fbff;
    --xm-mut: #c3d8e0;
    --xm-gold: #ffd36b;
    --xm-red: #e23744;

    position: relative;
    margin: 32px 0;
    padding: 2px;
    border-radius: 22px;
    isolation: isolate;
    overflow: hidden;
    container: rkxm / inline-size;
    background: #123a3a;
    box-shadow: 0 20px 44px -20px rgba(8, 40, 50, .65), 0 2px 6px rgba(16, 24, 40, .08);
    font-family: inherit;
    line-height: 1.4;
    text-align: left;
    transition: transform .3s cubic-bezier(.2, .7, .3, 1), box-shadow .3s ease;
}
.rkxm--sidebar { max-width: 340px; }
.rkxm,
.rkxm *,
.rkxm *::before,
.rkxm *::after { box-sizing: border-box; }

/* Liseré or / rouge / vert qui tourne : le mouvement en peripherie de
   vision accroche l oeil pendant le defilement. */
.rkxm::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: conic-gradient(from var(--xm-a), #ffd36b 0deg, #fff3c4 24deg, #e23744 100deg, #0f3b2c 180deg, #1f7a4c 250deg, #ffd36b 360deg);
    animation: xm-ring 6s linear infinite;
}

.rkxm:hover {
    transform: translateY(-3px);
    box-shadow: 0 28px 56px -20px rgba(226, 55, 68, .4), 0 2px 6px rgba(16, 24, 40, .08);
}

.rkxm__in {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    border-radius: 20px;
    overflow: hidden;
    color: var(--xm-ink);
    background:
        radial-gradient(80% 70% at 100% 100%, rgba(255, 211, 107, .14), transparent 60%),
        linear-gradient(160deg, #0f2f3d 0%, #0a2230 60%, #071822 100%);
}

/* =======================================================================
   SCENE — 100 % CSS/SVG, tailles en unites de la scene (cqw/cqh).
   Seuls transform / translate / rotate / opacity sont animes.
   ======================================================================= */
.rkxm__scene {
    position: relative;
    overflow: hidden;
    container-type: size;
    aspect-ratio: 16 / 10;
    align-self: start;
    width: 100%;
    background: linear-gradient(180deg, #06172a 0%, #0c2c45 46%, #17505c 76%, #0f3640 100%);
}

.rkxm__overlay {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: block;
    text-indent: -9999px;
    overflow: hidden;
}

.xm { position: absolute; inset: 0; pointer-events: none; }
.xm > * { position: absolute; }

.xm__stars {
    inset: 0 0 50% 0;
    background-image:
        radial-gradient(circle at 6% 20%,  #fff 0 1px, transparent 1.8px),
        radial-gradient(circle at 18% 52%, #fff 0 1px, transparent 1.8px),
        radial-gradient(circle at 31% 14%, #fff 0 1.3px, transparent 2px),
        radial-gradient(circle at 44% 40%, #fff 0 1px, transparent 1.8px),
        radial-gradient(circle at 58% 10%, #fff 0 1px, transparent 1.8px),
        radial-gradient(circle at 71% 58%, #fff 0 1px, transparent 1.8px),
        radial-gradient(circle at 92% 66%, #fff 0 1.2px, transparent 2px);
    animation: xm-twinkle 3.6s ease-in-out infinite;
}
.xm__stars--b {
    background-image:
        radial-gradient(circle at 12% 36%, #fff 0 1px, transparent 1.8px),
        radial-gradient(circle at 25% 28%, #fff 0 1px, transparent 1.8px),
        radial-gradient(circle at 38% 70%, #fff 0 1px, transparent 1.8px),
        radial-gradient(circle at 53% 30%, #fff 0 1.2px, transparent 2px),
        radial-gradient(circle at 66% 22%, #fff 0 1px, transparent 1.8px),
        radial-gradient(circle at 97% 26%, #fff 0 1px, transparent 1.8px);
    animation-duration: 4.8s;
    animation-delay: -2s;
}

.xm__moon {
    top: 9%;
    right: 10%;
    width: 15%;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 64%, rgba(170, 196, 214, .45) 0 9%, transparent 10%),
        radial-gradient(circle at 64% 34%, rgba(170, 196, 214, .4) 0 7%, transparent 8%),
        radial-gradient(circle at 36% 34%, #ffffff 0%, #eef6fb 55%, #cddfea 100%);
    box-shadow: 0 0 28px 6px rgba(220, 238, 255, .3);
}

/* Traineau : passe devant la lune toutes les 16 s */
.xm__sleigh {
    top: 10%;
    left: 0;
    width: 34%;
    max-width: 190px;
    color: #04101c;
    opacity: 0;
    z-index: 2;
    animation: xm-sleigh 16s linear 2s infinite;
}
.xm__sleigh svg { display: block; width: 100%; height: auto; }

/* Halo chaud derriere le sapin */
.xm__glow {
    left: 8%;
    bottom: 4%;
    width: 62%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 211, 107, .34) 0%, rgba(255, 170, 60, .1) 40%, transparent 66%);
    animation: xm-breathe 4s ease-in-out infinite;
}

.xm__village { left: 0; bottom: 18%; width: 100%; height: 26%; z-index: 1; }
.xm__win rect { animation: xm-window 5s steps(1) infinite; }
.xm__win rect:nth-child(3n)   { animation-delay: -1.7s; }
.xm__win rect:nth-child(3n+1) { animation-delay: -3.1s; }

.xm__hill { left: 0; bottom: 0; width: 100%; height: 34%; z-index: 3; }

/* Sapin : leger balancement + inclinaison vers le pointeur (--xm-wx) */
.xm__tree {
    left: 20%;
    bottom: 6%;
    width: 34%;
    max-width: 230px;
    z-index: 4;
    transform-origin: 50% 100%;
    transform: rotate(calc(var(--xm-wx, 0) * 2.2deg));
    transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}
.xm__tree-svg { position: relative; display: block; width: 100%; height: auto; animation: xm-sway 6s ease-in-out infinite; transform-origin: 50% 100%; }

/* Rayons de l etoile, en rotation lente */
.xm__star-rays {
    left: 50%;
    top: 8%;
    width: 70%;
    aspect-ratio: 1;
    translate: -50% -50%;
    border-radius: 50%;
    background: repeating-conic-gradient(from 0deg, rgba(255, 226, 140, .5) 0deg 6deg, transparent 6deg 30deg);
    -webkit-mask: radial-gradient(circle, #000 0 20%, transparent 68%);
    mask: radial-gradient(circle, #000 0 20%, transparent 68%);
    animation: xm-spin 14s linear infinite;
}

.xm__star { transform-box: fill-box; transform-origin: 50% 50%; animation: xm-star 2.8s ease-in-out infinite; }

/* Guirlande : trois couleurs qui clignotent en decale */
.xm__bulb { transform-box: fill-box; transform-origin: 50% 50%; animation: xm-blink 1.8s ease-in-out infinite; animation-delay: calc(var(--n) * -.37s); }
.xm__bulb--r { fill: #ff4d5e; filter: drop-shadow(0 0 2px #ff4d5e); }
.xm__bulb--g { fill: #6dffa8; filter: drop-shadow(0 0 2px #6dffa8); }
.xm__bulb--o { fill: #ffd36b; filter: drop-shadow(0 0 2px #ffd36b); }

/* Cadeaux */
.xm__gift { z-index: 5; }
.xm__gift svg { display: block; width: 100%; height: auto; }
.xm__gift--a { left: 49%; bottom: 5%; width: 15%; max-width: 92px; transition: transform .5s cubic-bezier(.3, 1.7, .5, 1); }
.xm__gift--b { left: 13%; bottom: 4%; width: 11%; max-width: 66px; animation: xm-bob 4.4s ease-in-out infinite; }
.xm__gift--c { left: 63%; bottom: 4%; width: 10%; max-width: 60px; animation: xm-bob 5s ease-in-out -2s infinite; }
.xm__lid { transform-box: view-box; transform-origin: 30px 22px; transition: transform .5s cubic-bezier(.3, 1.7, .5, 1); }
.rkxm:hover .xm__gift--a { transform: translateY(-3cqh); }
.rkxm:hover .xm__lid { transform: translateY(-9px) rotate(-12deg); }

/* Etincelles qui jaillissent du grand cadeau au survol */
.xm__pop { position: absolute; left: 50%; top: 18%; width: 0; height: 0; }
.xm__pop i {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ffe9a3;
    box-shadow: 0 0 6px 2px rgba(255, 211, 107, .8);
    opacity: 0;
}
.rkxm:hover .xm__pop i { animation: xm-pop 1.1s ease-out infinite; animation-delay: calc(var(--p) * .15s); }
.xm__pop i:nth-child(1) { --dx: -22px; } .xm__pop i:nth-child(2) { --dx: -10px; } .xm__pop i:nth-child(3) { --dx: 2px; }
.xm__pop i:nth-child(4) { --dx: 14px; }  .xm__pop i:nth-child(5) { --dx: 24px; }  .xm__pop i:nth-child(6) { --dx: -4px; }

/* Neige : nappes 2 fois plus hautes que la scene, motif periodique sur
   la moitie de la hauteur, translation d une demi-hauteur = boucle sans
   couture. Le vent (pointeur) decale l ensemble en X. */
.xm__wind {
    inset: 0;
    z-index: 8;
    transform: translateX(calc(var(--xm-wx, 0) * 5cqw));
    transition: transform 1.2s cubic-bezier(.2, .7, .3, 1);
}
.xm__snow {
    position: absolute;
    left: -10%;
    top: -100%;
    width: 120%;
    height: 200%;
    background-repeat: repeat;
    animation: xm-fall 12s linear infinite;
}
.xm__snow--1 {
    background-image:
        radial-gradient(circle at 10% 12%, #fff 0 1.6px, transparent 2.4px),
        radial-gradient(circle at 34% 36%, #fff 0 1.4px, transparent 2.2px),
        radial-gradient(circle at 58% 8%,  #fff 0 1.8px, transparent 2.6px),
        radial-gradient(circle at 82% 30%, #fff 0 1.4px, transparent 2.2px),
        radial-gradient(circle at 22% 70%, #fff 0 1.6px, transparent 2.4px),
        radial-gradient(circle at 70% 82%, #fff 0 1.4px, transparent 2.2px);
    background-size: 50% 50%;
    opacity: .9;
}
.xm__snow--2 {
    background-image:
        radial-gradient(circle at 18% 24%, #fff 0 1px, transparent 1.6px),
        radial-gradient(circle at 46% 58%, #fff 0 1px, transparent 1.6px),
        radial-gradient(circle at 74% 14%, #fff 0 1.1px, transparent 1.7px),
        radial-gradient(circle at 90% 76%, #fff 0 1px, transparent 1.6px),
        radial-gradient(circle at 6% 88%,  #fff 0 1px, transparent 1.6px);
    background-size: 34% 34%;
    opacity: .65;
    animation-duration: 18s;
}
.xm__snow--3 {
    background-image:
        radial-gradient(circle at 30% 40%, #fff 0 2.4px, transparent 3.4px),
        radial-gradient(circle at 76% 76%, #fff 0 2.2px, transparent 3.2px);
    background-size: 70% 50%;
    opacity: .75;
    animation-duration: 8s;
}

/* Etincelles au premier affichage (classe .is-seen posee par le JS) */
.xm__burst { left: 37%; top: 22%; width: 0; height: 0; z-index: 9; }
.xm__burst svg {
    position: absolute;
    left: -3cqw;
    top: -3cqw;
    width: 6cqw;
    min-width: 14px;
    color: #fff3c4;
    opacity: 0;
}
.rkxm.is-seen .xm__burst svg { animation: xm-burst 1.6s cubic-bezier(.2, .7, .3, 1) var(--bd, 0ms) both; }

/* Scene plus haute que large : on agrandit et resserre */
@container (orientation: portrait) {
    .xm__tree      { width: 52%; left: 12%; }
    .xm__gift--a   { width: 22%; left: 54%; }
    .xm__gift--b   { width: 16%; left: 4%; }
    .xm__gift--c   { width: 15%; left: 76%; }
    .xm__moon      { width: 22%; }
    .xm__sleigh    { width: 48%; }
    .xm__glow      { width: 90%; left: -6%; }
    .xm__burst     { left: 38%; top: 30%; }
}

/* =======================================================================
   CONTENU
   ======================================================================= */
.rkxm__body {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 18px 18px 16px;
}

.rkxm__kicker { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.rkxm__tag {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--xm-mut);
}

.rkxm__count {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px 6px 9px;
    border-radius: 999px;
    background: rgba(226, 55, 68, .16);
    box-shadow: inset 0 0 0 1px rgba(255, 120, 130, .55);
    color: #ffd9dc;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}
.rkxm__count b { color: #fff; font-weight: 900; font-size: 13.5px; }
.rkxm__count-ico { font-size: 13px; display: inline-block; animation: xm-wobble 2.6s ease-in-out infinite; transform-origin: 50% 90%; }

.rkxm__title {
    font-size: 22px;
    font-size: clamp(20px, 1.6cqw + 12px, 28px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -.02em;
}
/* Reflet dore qui traverse le titre */
.rkxm .rkxm__title a {
    color: #fff !important;
    text-decoration: none !important;
    background-image: linear-gradient(100deg, #fff 0%, #fff 38%, #fff1bf 46%, #ffd36b 50%, #fff1bf 54%, #fff 62%, #fff 100%) !important;
    background-size: 300% 100% !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent;
    animation: xm-shine 6s ease-in-out infinite;
}

.rkxm__sub {
    max-width: 72ch;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--xm-mut);
}

/* Barre de recherche : le mot-cle tape change, le lien suit le mot */
.rkxm .rkxm__search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 520px;
    padding: 6px 6px 6px 16px;
    border-radius: 999px;
    background: #fff !important;
    color: #0d2230 !important;
    text-decoration: none !important;
    box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .75);
    transition: transform .25s cubic-bezier(.2, .7, .3, 1), box-shadow .25s ease;
}
.rkxm .rkxm__search:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .8), 0 0 0 3px rgba(255, 211, 107, .7); }
.rkxm__loupe { width: 18px; height: 18px; flex-shrink: 0; color: #c81e2d; }
.rkxm__kw {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
}
.rkxm__caret {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    margin-left: 2px;
    flex-shrink: 0;
    background: #c81e2d;
    animation: xm-caret 1s steps(1) infinite;
}
.rkxm__go {
    flex-shrink: 0;
    padding: 9px 15px;
    border-radius: 999px;
    background: linear-gradient(115deg, #e23744, #b81d2c);
    color: #fff;
    font-size: 12.5px;
    font-weight: 800;
}

/* Rayons */
.rkxm__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rkxm .rkxm__chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px 8px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .07) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
    color: #eef8fc !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none !important;
    white-space: nowrap;
    transition: transform .22s cubic-bezier(.3, 1.5, .5, 1), background-color .2s ease, box-shadow .2s ease;
}
.rkxm .rkxm__chip:hover {
    background: rgba(255, 211, 107, .16) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 211, 107, .9), 0 8px 18px -10px rgba(255, 211, 107, .7);
    transform: translateY(-2px);
}
.rkxm__chip-ico { display: inline-block; font-size: 15px; line-height: 1; transition: transform .3s cubic-bezier(.3, 1.8, .5, 1); }
.rkxm__chip:hover .rkxm__chip-ico { transform: rotate(-14deg) scale(1.3); }

/* CTA rouge de Noel, liseré or */
.rkxm__action {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 18px;
}
.rkxm .rkxm__cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1 1 100%;
    min-height: 54px;
    padding: 0 24px 0 18px;
    border-radius: 999px;
    overflow: hidden;
    white-space: nowrap;
    background: linear-gradient(115deg, #e8404d 0%, #c81e2d 55%, #a3121f 100%) !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -.01em;
    box-shadow: inset 0 0 0 2px rgba(255, 211, 107, .85), inset 0 -3px 0 rgba(0, 0, 0, .18);
    transition: transform .22s cubic-bezier(.2, .7, .3, 1), filter .22s ease;
    animation: xm-cta-glow 2.8s ease-in-out infinite, xm-wiggle 7s ease-in-out 3s infinite;
}
.rkxm .rkxm__cta:hover { transform: translateY(-2px) scale(1.02); filter: brightness(1.08); animation-play-state: paused; }
.rkxm .rkxm__cta:active { transform: scale(.98); }
.rkxm .rkxm__cta:focus-visible { outline: none; box-shadow: 0 0 0 3px #0a2230, 0 0 0 6px #ffd36b; }
.rkxm__cta-gift { position: relative; z-index: 1; width: 24px; height: 22px; flex-shrink: 0; transform-origin: 50% 90%; animation: xm-wobble 2.4s ease-in-out infinite; }
.rkxm__cta-label { position: relative; z-index: 1; }
.rkxm__cta-arrow { position: relative; z-index: 1; width: 18px; height: 18px; transition: transform .22s cubic-bezier(.2, .7, .3, 1); }
.rkxm__cta:hover .rkxm__cta-arrow { transform: translateX(5px); }
.rkxm__cta-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%);
    transform: translateX(-100%);
    animation: xm-cta-shine 4.2s ease-in-out infinite;
    pointer-events: none;
}

.rkxm__hint { display: none; font-size: 12px; font-weight: 600; color: rgba(195, 216, 224, .8); }

.rkxm__legal { font-size: 11px; line-height: 1.5; color: rgba(195, 216, 224, .78); }

/* Mobile / colonne etroite : 4 rayons */
.rkxm__chips .rkxm__chip:nth-child(n+5) { display: none; }

/* -------- Mise en page large : scene a gauche, contenu a droite -------- */
@container rkxm (min-width: 640px) {
    .rkxm__in { grid-template-columns: clamp(270px, 40%, 480px) minmax(0, 1fr); }
    .rkxm__scene { aspect-ratio: auto; align-self: stretch; min-height: 340px; height: 100%; }
    .rkxm__body { padding: 22px 28px 18px; }
    .rkxm .rkxm__cta { flex: 0 0 auto; min-width: 270px; }
    .rkxm__hint { display: inline; }
}
@container rkxm (min-width: 900px) {
    .rkxm__chips .rkxm__chip:nth-child(n+5) { display: inline-flex; }
}
/* Telephone : la scene et les rayons suffisent, le sous-titre repete
   les rayons ; la card reste ainsi sous ~650 px de haut. */
@container rkxm (max-width: 480px) {
    .rkxm .rkxm__sub { display: none; }
    .rkxm__scene { aspect-ratio: 16 / 9; }
}
@container rkxm (max-width: 360px) {
    .rkxm__go { display: none; }
    .rkxm .rkxm__search { padding: 12px 16px; }
    .rkxm__count { margin-left: 0; }
}

/* -------- Garde anti-reset des gabarits hotes -------- */
.rkxm .rkxm__title  { margin: 0 0 10px !important; padding: 0 !important; }
.rkxm .rkxm__sub    { margin: 0 0 16px !important; padding: 0 !important; }
.rkxm .rkxm__chips  { margin: 14px 0 18px !important; padding: 0 !important; }
.rkxm .rkxm__legal  { margin: 12px 0 0 !important; padding: 0 !important; }
.rkxm p::first-letter { float: none !important; font-size: inherit !important; line-height: inherit !important; margin: 0 !important; font-weight: inherit !important; color: inherit !important; }
.rkxm a[target="_blank"]::after { content: none !important; }

/* -------- Etat JS : entree orchestree --------
   .is-armed : guirlande et etoile eteintes, rayons caches ;
   .is-seen (carte a l ecran) : l etoile s allume, puis la guirlande en
   cascade. Sans JS, la card s affiche complete et allumee. */
.rkxm.is-armed .xm__bulb { opacity: .12; }
.rkxm.is-armed .xm__star { opacity: .25; }
.rkxm.is-armed .xm__star-rays { opacity: 0; }
.rkxm.is-armed .rkxm__chip { opacity: 0; }
.rkxm.is-seen .xm__star { animation: xm-ignite .9s ease-out .2s both, xm-star 2.8s ease-in-out 1.1s infinite; }
.rkxm.is-seen .xm__star-rays { animation: xm-fade .9s ease-out .4s both, xm-spin 14s linear infinite; }
.rkxm.is-seen .xm__bulb { animation: xm-ignite .5s ease-out both, xm-blink 1.8s ease-in-out infinite; animation-delay: calc(var(--n) * 90ms + .7s), calc(var(--n) * -.37s + 1.4s); }
.rkxm.is-seen .rkxm__chip { animation: xm-pop-in .55s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--i, 0) * 80ms + .5s); }

/* Hors ecran : tout se fige (economie CPU / INP mobile) */
.rkxm.is-off,
.rkxm.is-off::before,
.rkxm.is-off * { animation-play-state: paused !important; }

/* -------- Keyframes -------- */
@keyframes xm-ring     { to { --xm-a: 360deg; } }
@keyframes xm-twinkle  { 0%, 100% { opacity: .9; } 50% { opacity: .35; } }
@keyframes xm-breathe  { 0%, 100% { opacity: .8; scale: .97; } 50% { opacity: 1; scale: 1.04; } }
@keyframes xm-window   { 0%, 100% { opacity: 1; } 40% { opacity: .55; } 42% { opacity: 1; } 77% { opacity: .7; } }
@keyframes xm-sway     { 0%, 100% { rotate: -1deg; } 50% { rotate: 1deg; } }
@keyframes xm-spin     { to { rotate: 360deg; } }
@keyframes xm-star     { 0%, 100% { scale: 1; opacity: 1; } 50% { scale: 1.12; opacity: .9; } }
@keyframes xm-blink    { 0%, 100% { opacity: 1; scale: 1; } 50% { opacity: .35; scale: .8; } }
@keyframes xm-bob      { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4%; } }
@keyframes xm-fall     { from { translate: 0 0; } to { translate: 0 50%; } }
@keyframes xm-sleigh {
    0%   { opacity: 0; translate: -40cqw 6cqh;  rotate: 4deg; }
    6%   { opacity: .95; }
    40%  { opacity: .95; translate: 120cqw -6cqh; rotate: -4deg; }
    44%, 100% { opacity: 0; translate: 130cqw -8cqh; }
}
@keyframes xm-pop {
    0%   { opacity: 0; translate: 0 0; scale: .5; }
    20%  { opacity: 1; }
    100% { opacity: 0; translate: var(--dx, 0) -34px; scale: 1; }
}
@keyframes xm-burst {
    0%   { opacity: 0; translate: 0 0; scale: .2; rotate: 0deg; }
    15%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { opacity: 0; translate: var(--bx) var(--by); scale: 1.1; rotate: 120deg; }
}
@keyframes xm-ignite {
    0%   { opacity: .12; }
    35%  { opacity: 1; }
    50%  { opacity: .4; }
    100% { opacity: 1; }
}
@keyframes xm-fade     { from { opacity: 0; } to { opacity: 1; } }
@keyframes xm-shine    { 0%, 15% { background-position: 100% 0; } 65%, 100% { background-position: 0% 0; } }
@keyframes xm-caret    { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes xm-pop-in   { from { opacity: 0; translate: 0 10px; scale: .85; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes xm-cta-glow {
    0%, 100% { box-shadow: inset 0 0 0 2px rgba(255, 211, 107, .85), inset 0 -3px 0 rgba(0, 0, 0, .18), 0 12px 26px -12px rgba(226, 55, 68, .85), 0 0 0 0 rgba(255, 211, 107, .45); }
    60%      { box-shadow: inset 0 0 0 2px rgba(255, 211, 107, .85), inset 0 -3px 0 rgba(0, 0, 0, .18), 0 14px 30px -12px rgba(226, 55, 68, .95), 0 0 0 12px rgba(255, 211, 107, 0); }
}
@keyframes xm-wiggle {
    0%, 88%, 100% { rotate: 0deg; }
    90% { rotate: -2.5deg; }
    92% { rotate: 2.5deg; }
    94% { rotate: -1.5deg; }
    96% { rotate: 1deg; }
}
@keyframes xm-wobble    { 0%, 100% { rotate: -8deg; } 50% { rotate: 8deg; } }
@keyframes xm-cta-shine { 0%, 30% { transform: translateX(-100%); } 65%, 100% { transform: translateX(100%); } }

/* -------- Mouvement reduit : tout est fige, sapin allume -------- */
@media (prefers-reduced-motion: reduce) {
    .rkxm,
    .rkxm::before,
    .rkxm * {
        animation: none !important;
        transition: none !important;
    }
    .xm__sleigh, .xm__burst, .xm__pop, .xm__snow--3 { display: none; }
}
