/* ==========================================================================
   ATLOVE — les scènes animées des fonctionnalités, façon « génie du cœur ».
   Règle : le style de base = l'état final (lisible sans animation) ;
   les keyframes partent de l'état « vide » pour y arriver.
   ========================================================================== */

.stage {
  position: relative; height: 176px; overflow: hidden;
  border-bottom: 3px solid var(--ink);
  background-color: var(--bgc, var(--peri));
}
/* Un léger damier en fond, et deux étoiles qui scintillent */
.stage::before {
  content: ""; position: absolute; inset: 0; opacity: .14;
  background: conic-gradient(var(--ink) 25%, transparent 0 50%, var(--ink) 0 75%, transparent 0) 0 0 / 28px 28px;
  -webkit-mask: linear-gradient(180deg, transparent 40%, #000); mask: linear-gradient(180deg, transparent 40%, #000);
}
.stage::after {
  content: "✦"; position: absolute; right: 14px; top: 8px; font-size: 22px; color: var(--cream);
  -webkit-text-stroke: 1.5px var(--ink); animation: twinkle 2.4s ease-in-out infinite;
}
.s-pink { --bgc: var(--pink); } .s-peri { --bgc: var(--peri); } .s-mustard { --bgc: var(--mustard); }
.s-red { --bgc: var(--red); } .s-night { --bgc: #2C2050; } .s-cream { --bgc: var(--cream); }

.scene { position: absolute; left: 50%; top: 50%; width: 230px; height: 138px; transform: translate(-50%, -50%); font-size: 12px; color: var(--ink); }
.scene * { position: absolute; }
.scene svg { overflow: visible; }
.js .stage:not(.on) * { animation-play-state: paused !important; }

/* L'élément de base : un sticker */
.stk { background: var(--paper); border: 2.5px solid var(--ink); border-radius: 14px; box-shadow: 3px 4px 0 var(--ink); font-weight: 800; color: var(--ink); }
.chip { background: var(--paper); border: 2.5px solid var(--ink); border-radius: 999px; padding: 3px 10px; font-weight: 900; font-size: 11px; white-space: nowrap; box-shadow: 2px 3px 0 var(--ink); }
.chip.pk { background: var(--pink); color: #fff; }
.chip.ok { background: #3DDC84; }
@keyframes twinkle { 0%, 100% { transform: scale(.7) rotate(0); opacity: .6; } 50% { transform: scale(1.15) rotate(20deg); opacity: 1; } }

/* ==========================================================================
   1. Carte : épingles-cœurs qui tombent, itinéraire qui se trace, compteur
   ========================================================================== */
.v-map .roads, .v-map .route { left: 0; top: 0; width: 230px; height: 138px; }
.v-map .roads path { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 7; stroke-linecap: round; }
.v-map .route .dash { fill: none; stroke: var(--ink); stroke-width: 3; stroke-dasharray: 5 6; stroke-linecap: round; }
.v-map .route .draw { fill: none; stroke: #fff; stroke-width: 9; stroke-dasharray: 1; stroke-dashoffset: 0; }
.pin { width: 34px; height: 34px; margin: -44px 0 0 -17px; }
.pin svg { left: 0; top: 0; width: 34px; height: 34px; }
.pin .badge { top: -10px; right: -20px; font-size: 10px; padding: 1px 7px; }
.v-map .pin { animation: pinDrop 6s cubic-bezier(.3,1.5,.5,1) infinite both; }
.v-map .p2 { animation-delay: .35s; } .v-map .p3 { animation-delay: .7s; }
.v-map .badge { animation: badgePop 6s ease-out infinite both; }
.v-map .draw { animation: routeDraw 6s ease-in-out infinite both; }
@keyframes pinDrop { 0% { transform: translateY(-60px) scale(.6); opacity: 0; } 9% { transform: none; opacity: 1; } 12% { transform: scale(1.15, .85); } 15% { transform: none; } 88% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes routeDraw { 0%, 22% { stroke-dashoffset: 1; } 48%, 100% { stroke-dashoffset: 0; } }
@keyframes badgePop { 0%, 50% { transform: scale(0) rotate(-30deg); } 56% { transform: scale(1.4) rotate(8deg); } 61%, 88% { transform: none; opacity: 1; } 96%, 100% { opacity: 0; } }

/* ==========================================================================
   2. L'Instant : ma photo (flash) débloque la sienne
   ========================================================================== */
.v-instant .polaroid { top: 16px; width: 86px; height: 106px; background: #fff; border: 2.5px solid var(--ink); border-radius: 6px; padding: 6px 6px 0; box-shadow: 4px 5px 0 var(--ink); }
.v-instant .left { left: 20px; transform: rotate(-8deg); }
.v-instant .right { right: 20px; transform: rotate(7deg); }
.v-instant .ph { position: relative; width: 70px; height: 74px; border-radius: 3px; overflow: hidden; background: #E9E1F7; border: 2px solid var(--ink); }
.v-instant .ph::before { content: "📷"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 18px; opacity: .5; }
.v-instant .photo { inset: 0; }
.v-instant .warm { background: radial-gradient(circle at 68% 36%, var(--mustard) 0 10px, transparent 11px), linear-gradient(170deg, transparent 58%, var(--red) 59%), linear-gradient(180deg, #FF9AC9, var(--pink)); }
.v-instant .cool { background: radial-gradient(circle at 30% 30%, #fff 0 7px, transparent 8px), linear-gradient(195deg, transparent 55%, #3B2D7A 56%), linear-gradient(180deg, var(--peri), #D9B8FF); }
.v-instant .flash { inset: 0; background: #fff; opacity: 0; }
.v-instant .lock { inset: 0; display: grid; place-items: center; font-size: 22px; font-style: normal; opacity: 0; }
.v-instant small { left: 0; right: 0; bottom: 5px; text-align: center; font-size: 10px; font-weight: 900; }
.v-instant .hours { left: 50%; top: 0; transform: translateX(-50%); z-index: 2; }
.v-instant .reveal { left: 50%; bottom: -8px; transform: translateX(-50%); z-index: 2; }
.v-instant .warm { animation: instMine 7s ease-out infinite both; }
.v-instant .flash { animation: instFlash 7s ease-out infinite both; }
.v-instant .cool { animation: instTheirs 7s ease-out infinite both; }
.v-instant .lock { animation: instLock 7s ease-out infinite both; }
.v-instant .reveal { animation: chipPop 7s var(--spring) infinite both; --at: 40%; }
.v-instant .left { animation: shutter 7s ease-out infinite both; }
@keyframes instMine { 0%, 14% { opacity: 0; } 15%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes instFlash { 0%, 12% { opacity: 0; } 14% { opacity: 1; } 24%, 100% { opacity: 0; } }
@keyframes instTheirs { 0%, 26% { filter: blur(8px) saturate(.5); } 36%, 100% { filter: none; } }
@keyframes instLock { 0%, 26% { opacity: 1; transform: none; } 32% { opacity: 0; transform: scale(1.8) rotate(20deg); } 100% { opacity: 0; } }
@keyframes shutter { 0%, 11% { transform: rotate(-8deg); } 13% { transform: rotate(-8deg) scale(.92); } 17%, 100% { transform: rotate(-8deg); } }
@keyframes chipPop { 0%, 38% { transform: translateX(-50%) scale(0) rotate(-12deg); } 44% { transform: translateX(-50%) scale(1.2) rotate(4deg); } 48%, 90% { transform: translateX(-50%); opacity: 1; } 98%, 100% { transform: translateX(-50%); opacity: 0; } }

/* ==========================================================================
   3. Question du soir : nuit, réponses floues puis dévoilées ensemble
   ========================================================================== */
.v-soir .moon { right: 6px; top: -2px; width: 28px; height: 28px; border-radius: 50%; box-shadow: 8px -4px 0 0 var(--mustard); transform: rotate(-20deg); animation: moonRock 5s ease-in-out infinite; }
@keyframes moonRock { 0%, 100% { transform: rotate(-20deg); } 50% { transform: rotate(-4deg) translateY(-3px); } }
.v-soir .star { color: var(--cream); font-size: 12px; animation: twinkle 2.6s ease-in-out infinite; }
.v-soir .s1 { left: 0; top: 4px; } .v-soir .s2 { left: 74px; top: -6px; animation-delay: .8s; } .v-soir .s3 { left: 150px; top: 30px; animation-delay: 1.5s; }
.v-soir .q { left: 0; top: 18px; max-width: 180px; color: #fff; font-weight: 900; font-size: 14px; line-height: 1.2; }
.v-soir .bubble-a, .v-soir .bubble-b { padding: 6px 12px; border-radius: 16px; font-size: 12px; white-space: nowrap; }
.v-soir .bubble-a em, .v-soir .bubble-b em { position: static; font-style: normal; }
.v-soir .bubble-a { left: 0; top: 64px; background: var(--pink); color: #fff; border-bottom-left-radius: 4px; }
.v-soir .bubble-b { right: 0; top: 96px; border-bottom-right-radius: 4px; }
.v-soir .streak { left: 2px; bottom: -6px; width: 60px; height: 22px; }
.v-soir .streak b { left: 0; top: 0; color: var(--mustard); font-size: 13px; font-weight: 900; white-space: nowrap; }
.v-soir .n12 { opacity: 0; }
.v-soir .bubble-a { animation: bubIn 7s var(--spring) infinite both; }
.v-soir .bubble-b { animation: bubIn 7s var(--spring) infinite both; animation-delay: .9s; }
.v-soir .bubble-a em { animation: revealA 7s ease-out infinite both; }
.v-soir .bubble-b em { animation: revealB 7s ease-out infinite both; animation-delay: .9s; }
.v-soir .n12 { animation: n12 7s linear infinite both; }
.v-soir .n13 { animation: n13 7s var(--spring) infinite both; }
@keyframes bubIn { 0%, 10% { opacity: 0; transform: translateY(14px) scale(.7); } 16%, 90% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes revealA { 0%, 50% { filter: blur(5px); } 56%, 100% { filter: none; } }
@keyframes revealB { 0%, 37% { filter: blur(5px); } 43%, 100% { filter: none; } }
@keyframes n12 { 0%, 58% { opacity: 1; } 60%, 100% { opacity: 0; } }
@keyframes n13 { 0%, 58% { opacity: 0; transform: translateY(10px); } 63% { opacity: 1; transform: translateY(-4px) scale(1.35); } 68%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ==========================================================================
   4. Dessin : un cœur se trace sur le papier, « ce soir ? »
   ========================================================================== */
.v-dessin .sheet { left: 30px; top: 6px; width: 170px; height: 112px; background: var(--paper); border: 2.5px solid var(--ink); border-radius: 12px; box-shadow: 4px 5px 0 var(--ink); transform: rotate(-2deg); }
.v-dessin svg { left: 0; top: 0; width: 170px; height: 112px; }
.v-dessin .ink { fill: none; stroke: var(--pink); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.v-dessin .word { fill: var(--peri); font-family: "Snell Roundhand", "Segoe Script", "Brush Script MT", cursive; font-size: 22px; font-weight: 700; }
.v-dessin .pencil { left: 150px; top: 70px; font-size: 26px; transform-origin: 10% 90%; }
.v-dessin .colors { left: 40px; bottom: -10px; display: flex; gap: 6px; }
.v-dessin .colors i { position: relative; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--ink); }
.v-dessin .h1 { animation: draw 6s ease-in-out infinite both; }
.v-dessin .w1 { animation: write 6s steps(9, end) infinite both; }
.v-dessin .pencil { animation: pencil 6s ease-in-out infinite both; }
.v-dessin .sent { right: 0; top: -4px; animation: chipPopR 6s var(--spring) infinite both; }
@keyframes draw { 0%, 5% { stroke-dashoffset: 1; } 40%, 92% { stroke-dashoffset: 0; opacity: 1; } 100% { opacity: 0; } }
@keyframes write { 0%, 42% { clip-path: inset(0 100% 0 0); } 62%, 92% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes pencil {
  0%, 5% { transform: translate(-110px, -40px) rotate(-10deg); }
  15% { transform: translate(-140px, -20px) rotate(-14deg); }
  25% { transform: translate(-100px, 10px) rotate(-6deg); }
  35% { transform: translate(-60px, -30px) rotate(-12deg); }
  50% { transform: translate(-90px, 20px) rotate(-4deg); }
  62% { transform: translate(-30px, 18px) rotate(-8deg); }
  70%, 100% { transform: none; }
}
@keyframes chipPopR { 0%, 66% { transform: scale(0) rotate(15deg); } 72% { transform: scale(1.25) rotate(-4deg); } 76%, 92% { transform: none; opacity: 1; } 100% { opacity: 0; } }

/* ==========================================================================
   5. Scénarios : une proposition, « Je suis partant·e », tampon accepté
   ========================================================================== */
.v-scen .card-s { left: 14px; top: 4px; width: 202px; padding: 10px 12px; }
.v-scen .card-s * { position: static; }
.v-scen .card-s b { display: block; font-size: 14px; font-weight: 900; }
.v-scen .card-s span { display: block; font-size: 10.5px; font-weight: 700; opacity: .75; margin-top: 2px; line-height: 1.3; }
.v-scen .yes { left: 30px; top: 96px; padding: 5px 14px; font-size: 12px; }
.v-scen .no { left: 152px; top: 99px; font-size: 11px; font-weight: 800; color: var(--ink); opacity: .7; }
.v-scen .stamp { left: 120px; top: 30px; padding: 3px 10px; font-size: 13px; font-weight: 900; color: #fff; background: #2BB673; border: 3px solid var(--ink); border-radius: 8px; transform: rotate(-12deg); }
.v-scen .cursor { left: 70px; top: 112px; font-size: 22px; }
.v-scen .card-s { animation: cardIn 7s var(--spring) infinite both; }
.v-scen .yes { animation: press 7s ease-out infinite both; }
.v-scen .cursor { animation: tap 7s ease-in-out infinite both; }
.v-scen .stamp { animation: stamp 7s cubic-bezier(.2,1.6,.4,1) infinite both; }
@keyframes cardIn { 0%, 4% { opacity: 0; transform: translateY(-40px) rotate(-6deg); } 14%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes press { 0%, 38% { transform: none; } 41% { transform: translateY(4px) scale(.94); } 46%, 100% { transform: none; } }
@keyframes tap { 0%, 18% { opacity: 0; transform: translate(80px, 40px); } 30% { opacity: 1; transform: translate(0, 0); } 38% { transform: translate(0, 0); } 41% { transform: translate(0, 4px) scale(.9); } 46% { transform: none; opacity: 1; } 60%, 100% { opacity: 0; transform: translate(30px, 30px); } }
@keyframes stamp { 0%, 46% { opacity: 0; transform: rotate(-12deg) scale(2.6); } 52% { opacity: 1; transform: rotate(-12deg) scale(.9); } 56%, 92% { opacity: 1; transform: rotate(-12deg); } 100% { opacity: 0; transform: rotate(-12deg); } }

/* ==========================================================================
   6. Jeux & défis : barre de palier, cadeau, confettis, dés
   ========================================================================== */
.v-jeu .level { left: 8px; right: 8px; top: 4px; padding: 9px 12px 11px; }
.v-jeu .row { position: relative; display: flex; justify-content: space-between; font-size: 13px; font-weight: 900; }
.v-jeu .row * { position: static; }
.v-jeu .bar { position: relative; height: 12px; margin-top: 7px; border-radius: 99px; background: #E9E1F7; border: 2px solid var(--ink); overflow: hidden; }
.v-jeu .bar i { left: 0; top: 0; bottom: 0; width: 100%; background: repeating-linear-gradient(-45deg, var(--pink) 0 8px, #FF7DBA 8px 16px); transform-origin: left; }
.v-jeu .gift { left: 50%; top: 58px; margin-left: -18px; font-size: 34px; line-height: 1; }
.v-jeu .conf { left: 112px; top: 76px; width: 8px; height: 8px; border-radius: 2px; border: 1.5px solid var(--ink); opacity: 0; }
.v-jeu .c1 { background: var(--pink); --dx: -56px; --dy: -24px; } .v-jeu .c2 { background: var(--mustard); --dx: 52px; --dy: -28px; }
.v-jeu .c3 { background: var(--peri); --dx: -36px; --dy: 26px; } .v-jeu .c4 { background: #3DDC84; --dx: 42px; --dy: 22px; }
.v-jeu .c5 { background: var(--cream); --dx: -8px; --dy: -42px; } .v-jeu .c6 { background: var(--red); --dx: 14px; --dy: 36px; }
.v-jeu .die { bottom: 0; width: 32px; height: 32px; background: #fff; border: 2.5px solid var(--ink); border-radius: 9px; box-shadow: 3px 3px 0 var(--ink); }
.v-jeu .die i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.v-jeu .d1 { left: 26px; } .v-jeu .d1 i:nth-child(1) { left: 4px; top: 4px; } .v-jeu .d1 i:nth-child(2) { left: 10.5px; top: 10.5px; } .v-jeu .d1 i:nth-child(3) { right: 4px; bottom: 4px; }
.v-jeu .d2 { right: 26px; } .v-jeu .d2 i:nth-child(1) { left: 5px; top: 5px; } .v-jeu .d2 i:nth-child(2) { right: 5px; bottom: 5px; }
.v-jeu .bar i { animation: barFill 6s cubic-bezier(.4,0,.2,1) infinite both; }
.v-jeu .gift { animation: giftPop 6s ease-out infinite both; }
.v-jeu .conf { animation: confetti 6s ease-out infinite both; }
.v-jeu .d1 { animation: roll 6s cubic-bezier(.3,1.3,.5,1) infinite both; }
.v-jeu .d2 { animation: roll2 6s cubic-bezier(.3,1.3,.5,1) infinite both; }
@keyframes barFill { 0%, 8% { transform: scaleX(.42); } 40%, 92% { transform: scaleX(1); } 100% { transform: scaleX(.42); } }
@keyframes giftPop { 0%, 40% { transform: scale(0) rotate(-30deg); } 46% { transform: scale(1.4) rotate(12deg); } 50% { transform: scale(.9) rotate(-8deg); } 54% { transform: scale(1.06) rotate(4deg); } 58%, 90% { transform: none; opacity: 1; } 96%, 100% { transform: scale(.5); opacity: 0; } }
@keyframes confetti { 0%, 42% { opacity: 0; transform: none; } 44% { opacity: 1; } 62% { opacity: 1; transform: translate(var(--dx), var(--dy)) rotate(200deg); } 72%, 100% { opacity: 0; transform: translate(var(--dx), calc(var(--dy) + 16px)) rotate(260deg); } }
@keyframes roll { 0%, 60% { transform: none; } 70% { transform: translateY(-34px) rotate(200deg); } 80% { transform: rotate(360deg); } 84% { transform: translateY(-6px) rotate(370deg); } 88%, 100% { transform: rotate(360deg); } }
@keyframes roll2 { 0%, 62% { transform: none; } 72% { transform: translateY(-28px) rotate(-220deg); } 82% { transform: rotate(-360deg); } 86% { transform: translateY(-5px) rotate(-365deg); } 90%, 100% { transform: rotate(-360deg); } }

/* ==========================================================================
   7. Bientôt : l'alphabet se remplit, la date part au calendrier
   ========================================================================== */
.v-bientot .abc { left: 0; right: 0; top: 2px; display: flex; justify-content: center; gap: 6px; }
.v-bientot .abc b { position: relative; width: 30px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: 14px; font-weight: 900; background: rgba(255,255,255,.4); border: 2.5px solid var(--ink); color: var(--ink); }
.v-bientot .abc .t1, .v-bientot .abc .t2, .v-bientot .abc .t3 { background: var(--pink); color: #fff; box-shadow: 2px 3px 0 var(--ink); }
.v-bientot .cal { left: 4px; right: 4px; top: 58px; height: 66px; display: flex; align-items: center; gap: 12px; padding: 0 12px; }
.v-bientot .cal * { position: static; }
.v-bientot .day { width: 42px; border-radius: 9px; overflow: hidden; text-align: center; background: #fff; border: 2px solid var(--ink); }
.v-bientot .day small { display: block; background: var(--red); color: #fff; font-size: 9px; font-weight: 900; letter-spacing: .06em; padding: 1px 0; border-bottom: 2px solid var(--ink); }
.v-bientot .day b { display: block; font-size: 19px; line-height: 24px; font-weight: 900; }
.v-bientot .txt { white-space: nowrap; display: flex; flex-direction: column; font-size: 13px; line-height: 1.35; font-weight: 900; }
.v-bientot .ok { color: #1E9E5A; font-size: 11px; }
.v-bientot .t1 { animation: tileFlip 7s var(--spring) infinite both; }
.v-bientot .t2 { animation: tileFlip 7s var(--spring) infinite both; animation-delay: .45s; }
.v-bientot .t3 { animation: tileFlip 7s var(--spring) infinite both; animation-delay: .9s; }
.v-bientot .cal { animation: calIn 7s var(--spring) infinite both; }
.v-bientot .ok { animation: okIn 7s ease-out infinite both; }
@keyframes tileFlip { 0%, 6% { transform: rotateY(90deg); background: rgba(255,255,255,.4); color: var(--ink); } 12% { transform: scale(1.2); background: var(--pink); color: #fff; } 16%, 92% { transform: none; background: var(--pink); color: #fff; } 100% { background: rgba(255,255,255,.4); color: var(--ink); } }
@keyframes calIn { 0%, 30% { opacity: 0; transform: translateY(50px) rotate(6deg); } 40%, 90% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes okIn { 0%, 50% { opacity: 0; transform: translateX(-8px); } 56%, 100% { opacity: 1; transform: none; } }

/* ==========================================================================
   8. Petits signes : un bisou qui vole d'un iPhone à l'autre
   ========================================================================== */
.v-signes .tel { top: 22px; width: 54px; height: 94px; border-radius: 13px; background: var(--paper); border: 2.5px solid var(--ink); box-shadow: 3px 4px 0 var(--ink); }
.v-signes .from { left: 16px; } .v-signes .to { right: 16px; }
.v-signes .tel svg { left: 7px; top: 26px; width: 36px; height: 36px; }
.v-signes path { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.v-signes .doodle { stroke-dasharray: 1; stroke-dashoffset: 0; }
.v-signes .fly { left: 32px; top: 50px; font-size: 24px; line-height: 1; }
.v-signes .notif { right: -4px; top: -6px; font-size: 11px; }
.v-signes .rain { right: 30px; top: 40px; font-size: 13px; color: var(--red); -webkit-text-stroke: 1px var(--ink); opacity: 0; }
.v-signes .r2 { right: 46px; top: 60px; } .v-signes .r3 { right: 22px; top: 70px; }
.v-signes .doodle { animation: doodle 6s ease-in-out infinite both; }
.v-signes .doodle-in { animation: doodleIn 6s var(--spring) infinite both; }
.v-signes .fly { animation: fly 6s ease-in-out infinite both; }
.v-signes .to { animation: shake 6s ease-out infinite both; }
.v-signes .notif { animation: notif 6s var(--spring) infinite both; }
.v-signes .rain { animation: rain 6s ease-out infinite both; }
.v-signes .r2 { animation-delay: .15s; } .v-signes .r3 { animation-delay: .3s; }
@keyframes doodle { 0%, 4% { stroke-dashoffset: 1; } 28%, 92% { stroke-dashoffset: 0; opacity: 1; } 100% { opacity: 0; } }
@keyframes doodleIn { 0%, 58% { opacity: 0; transform: scale(.3); } 64% { opacity: 1; transform: scale(1.25); } 68%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes fly { 0%, 30% { opacity: 0; transform: scale(.5); } 34% { opacity: 1; transform: translate(16px, -26px) scale(1); } 44% { transform: translate(70px, -52px) scale(1.4) rotate(-12deg); } 54% { opacity: 1; transform: translate(126px, -22px) rotate(10deg); } 58%, 100% { opacity: 0; transform: translate(136px, 0) scale(.4); } }
@keyframes shake { 0%, 56% { transform: none; } 59% { transform: rotate(-8deg); } 62% { transform: rotate(7deg); } 65% { transform: rotate(-4deg); } 68%, 100% { transform: none; } }
@keyframes notif { 0%, 58% { opacity: 0; transform: translateY(-16px) scale(.7); } 64%, 90% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes rain { 0%, 60% { opacity: 0; transform: none; } 64% { opacity: 1; } 86%, 100% { opacity: 0; transform: translateY(-46px) scale(1.4); } }

/* ==========================================================================
   9. Le Carnet : deux réponses qui se rejoignent
   ========================================================================== */
.v-carnet .qcard { left: 50%; top: 2px; transform: translateX(-50%); padding: 8px 14px; font-size: 14px; white-space: nowrap; }
.v-carnet .ans { padding: 5px 11px; border-radius: 12px; font-size: 12px; white-space: nowrap; }
.v-carnet .ans b { position: static; }
.v-carnet .me { left: 0; top: 50px; }
.v-carnet .them { right: 0; top: 80px; background: var(--pink); color: #fff; }
.v-carnet .match { left: 50%; bottom: -6px; transform: translateX(-50%); }
.v-carnet .me { animation: ansLeft 6s var(--spring) infinite both; }
.v-carnet .them { animation: ansRight 6s var(--spring) infinite both; }
.v-carnet .match { animation: chipPop 6s var(--spring) infinite both; }
.v-carnet .qcard { animation: qFloat 4s ease-in-out infinite both; }
@keyframes ansLeft { 0%, 8% { opacity: 0; transform: translateX(-70px) rotate(-8deg); } 18%, 90% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes ansRight { 0%, 26% { opacity: 0; transform: translateX(70px) rotate(8deg); } 36%, 90% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes qFloat { 0%, 100% { transform: translateX(-50%) rotate(-1.5deg); } 50% { transform: translateX(-50%) translateY(-4px) rotate(1.5deg); } }

/* ---------- Sans animation : l'état final, posé ---------- */
@media (prefers-reduced-motion: reduce) {
  .stage * { animation: none !important; }
}
