/* Le chiffre de la semaine (docs/CHIFFRE_DE_LA_SEMAINE.md): the card of the lobby of the space, between the card of the
   evening and Lovely Party (template/espace/partials/weekly-figure.php, static/js/espace/chiffre-semaine.js). The same
   height at every step, the sheet moving inside it, so that the lobby never jumps; a scene for each figure, calm loops
   and one moment when the answer comes; nothing moves for a phone that asks for less motion. Taken from the clickable
   mockup validated by the owner on 2026-11-23 (« C'est impeccable »). */

/* The weekly card: a fixed height in every step (no jump in the salon), the scene above, the cream sheet with its wave. */
.wk{--top:168px;--hand:"Caveat","Bradley Hand","Segoe Print",cursive;position:relative;margin:28px -4px 0;height:510px;border-radius:28px;overflow:hidden;background:#2a0f33;color:#702A71;font-family:inherit;box-shadow:0 14px 34px rgba(80,10,60,.3),0 4px 0 rgba(112,42,113,.2);transition:height .6s cubic-bezier(.2,.8,.2,1),background-color .4s;isolation:isolate;-webkit-tap-highlight-color:transparent}
.wk *{box-sizing:border-box}
/* Inside a page of the site (the public page, lot 4), the site's p, h1 and buttons would take its own type: the card's
   words inherit the card's; those that set their own (Caveat) come further down and keep it. */
.wk :where(p,h1,button,strong,span,em,b){font-family:inherit}
.wk-scene{position:absolute;inset:0;transition:transform .8s cubic-bezier(.2,.8,.2,1),opacity .45s}
.wk-scene svg{display:block;width:100%;height:100%}
.wk[data-step="reveal"] .wk-scene,.wk[data-step="result"] .wk-scene{transform:translateY(-12px)}
.wk-head{position:absolute;top:12px;left:12px;right:12px;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:8px;transition:opacity .35s}
.wk-glass{display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 12px 0 5px;border:0;border-radius:999px;background:rgba(22,6,30,.42);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#FBF8EF;font-size:10.5px;font-weight:900;letter-spacing:.13em;text-transform:uppercase;white-space:nowrap;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.wk-glass i{display:grid;place-items:center;width:23px;height:23px;border-radius:8px;background:linear-gradient(135deg,#F0508C,#C4285B);font-style:normal;font-size:12px;letter-spacing:0;box-shadow:0 2px 0 rgba(0,0,0,.25)}
.wk-glass--btn{padding:0 12px}
.wk-glass--btn svg{width:15px;height:15px}
.wk-fx{position:absolute;inset:0;z-index:6;pointer-events:none;overflow:hidden}

/* The big number, in the middle of the scene while it plays */
.wk-float{position:absolute;left:0;right:0;top:40%;z-index:5;display:flex;flex-direction:column;align-items:center;text-align:center;pointer-events:none;opacity:0;transform:translateY(14px) scale(.96);transition:opacity .45s,transform .6s cubic-bezier(.2,.8,.2,1)}
.wk-float.is-on{opacity:1;transform:none}
.wk-float__verdict{margin:0 0 2px;color:#FFD98A;font-family:var(--hand);font-size:34px;font-weight:700;line-height:1;opacity:0;transform:rotate(-4deg) scale(.6);transition:opacity .3s,transform .5s cubic-bezier(.3,1.6,.5,1)}
.wk-float__verdict.is-on{opacity:1;transform:rotate(-4deg) scale(1)}
.wk-float__num{margin:0;color:#FBF8EF;font-size:76px;font-weight:900;line-height:1;letter-spacing:-.035em;text-shadow:0 0 28px rgba(255,120,170,.65),0 4px 0 rgba(60,5,40,.35);font-variant-numeric:tabular-nums;transform-origin:0 0}
.wk-float__num.is-word{font-size:58px}
.wk-float__unit{margin:6px 22px 0;color:#FFE3EC;font-size:16px;font-weight:900}
.wk-skip{position:absolute;left:0;right:0;bottom:16px;z-index:5;margin:0;text-align:center;color:rgba(251,248,239,.6);font-size:12px;font-weight:800;opacity:0;transition:opacity .4s}
.wk[data-step="beat"] .wk-skip{opacity:1;transition-delay:1s}

/* The sheet */
.wk-sheet{position:absolute;left:0;right:0;top:0;height:100%;z-index:3;transform:translateY(var(--top));transition:transform .7s cubic-bezier(.2,.85,.25,1)}
.wk-sheet__bg{position:absolute;inset:0;background:#FBF8EF}
.wk-wave{position:absolute;left:0;top:-15px;width:100%;height:16px;overflow:hidden}
.wk-wave svg{display:block;width:100%;height:16px}
.wk-wave path{animation:wkWave 9s linear infinite}
@keyframes wkWave{to{transform:translateX(-180px)}}
.wk-pane{position:absolute;left:0;right:0;top:0;padding:4px 18px 16px;opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .3s,transform .4s,visibility 0s .4s}
.wk-pane.is-on{opacity:1;visibility:visible;transform:none;transition:opacity .45s .15s,transform .55s .15s,visibility 0s}

/* Step 1: the question */
.wk-date{margin:0;color:#a0547f;font-size:12px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.wk-q{margin:8px 0 0;font-size:21px;font-weight:900;line-height:1.2;letter-spacing:-.01em;text-wrap:pretty}
.wk-q b{color:#C4285B}
.wk-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.wk-choice{display:flex;align-items:center;justify-content:center;gap:8px;min-height:54px;border:0;border-radius:999px;font-size:16px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;transition:transform .15s,box-shadow .15s}
.wk-choice:active{transform:translateY(3px)}
.wk-choice--a{background:#C4285B;color:#FBF8EF;box-shadow:0 4px 0 #8d1b45}
.wk-choice--b{background:#fff;color:#702A71;box-shadow:inset 0 0 0 2px rgba(112,42,113,.22),0 4px 0 rgba(112,42,113,.18)}
.wk-choice svg{width:18px;height:18px}
.wk-choice.is-picked{animation:wkPress .5s ease}
@keyframes wkPress{40%{transform:scale(.94)}100%{transform:scale(1)}}
.wk-hint{margin:12px 0 0;color:#8d6a88;font-size:13.5px;font-weight:800;text-align:center}

/* Step 2: the answer */
.wk-verdict{display:flex;align-items:center;gap:6px;margin:0;color:#C4285B;font-family:var(--hand);font-size:30px;font-weight:700;line-height:1}
.wk-verdict svg{width:22px;height:22px;flex:none}
.wk-figure{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 10px;margin:2px 0 0}
.wk-figure strong{color:#702A71;font-size:50px;font-weight:900;line-height:1.02;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
.wk-figure strong.is-word{font-size:40px}
.wk-figure span{color:#702A71;font-size:15.5px;font-weight:900}
.wk-detail{margin:4px 0 0;color:#4a2350;font-size:14.5px;font-weight:800;line-height:1.35}
.wk-source{margin:6px 0 0;color:#8d6a88;font-size:12px;font-weight:800;line-height:1.35}
.wk-others{margin:10px 0 0}
.wk-others p{display:flex;justify-content:space-between;margin:0 0 5px;font-size:12.5px;font-weight:900;color:#702A71}
.wk-bar{position:relative;height:9px;border-radius:999px;background:rgba(112,42,113,.12);overflow:hidden}
.wk-bar i{position:absolute;inset:0 auto 0 0;width:0;border-radius:999px;background:linear-gradient(90deg,#F0508C,#C4285B);transition:width 1.1s cubic-bezier(.2,.8,.2,1) .5s}
.wk-feel{margin:12px 0 0}
.wk-feel>p{margin:0 0 7px;color:#702A71;font-size:12px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;text-align:center}
.wk-feel>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.wk-feel button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:62px;padding:6px 4px;border:0;border-radius:18px;background:#fff;color:#702A71;font-size:13.5px;font-weight:900;line-height:1.1;box-shadow:inset 0 0 0 2px rgba(112,42,113,.16),0 3px 0 rgba(112,42,113,.16);transition:transform .15s,background .2s,color .2s}
.wk-feel button:active{transform:translateY(2px)}
.wk-feel button svg{width:24px;height:24px;color:#C4285B}
.wk-feel button.is-on{background:#C4285B;color:#FBF8EF;box-shadow:0 3px 0 #8d1b45}
.wk-feel button.is-on svg{color:#FBF8EF}

/* Step 3: and you? */
.wk-you-k{margin:0;color:#C4285B;font-family:var(--hand);font-size:31px;font-weight:700;line-height:1}
.wk-you-q{margin:4px 0 0;font-size:18.5px;font-weight:900;line-height:1.22;text-wrap:pretty}
.wk-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.wk-chips button{min-height:44px;padding:0 15px;border:0;border-radius:999px;background:#fff;color:#702A71;font-size:14.5px;font-weight:900;box-shadow:inset 0 0 0 2px rgba(112,42,113,.18),0 3px 0 rgba(112,42,113,.15);transition:transform .15s,background .2s,color .2s}
.wk-chips button:active{transform:translateY(2px)}
.wk-chips button.is-on{background:#C4285B;color:#FBF8EF;box-shadow:0 3px 0 #8d1b45}
.wk-chips--names button{flex:1 1 auto}
.wk-slider{margin-top:10px}
.wk-read{display:flex;align-items:baseline;justify-content:center;gap:6px;margin:0;color:#702A71}
.wk-read b{font-size:40px;font-weight:900;line-height:1;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.wk-read span{font-size:16px;font-weight:900}
.wk-read em{margin-left:4px;color:#C4285B;font-family:var(--hand);font-size:24px;font-style:normal;font-weight:700}
.wk-range{-webkit-appearance:none;appearance:none;width:100%;height:44px;margin:4px 0 0;background:transparent;cursor:pointer}
.wk-range::-webkit-slider-runnable-track{height:12px;border-radius:999px;background:linear-gradient(90deg,#C4285B 0,#F0508C var(--p,50%),rgba(112,42,113,.14) var(--p,50%))}
.wk-range::-moz-range-track{height:12px;border-radius:999px;background:linear-gradient(90deg,#C4285B 0,#F0508C var(--p,50%),rgba(112,42,113,.14) var(--p,50%))}
.wk-range::-webkit-slider-thumb{-webkit-appearance:none;width:30px;height:30px;margin-top:-9px;border-radius:50%;background:#FBF8EF;border:4px solid #C4285B;box-shadow:0 3px 0 #8d1b45,0 6px 16px rgba(112,42,113,.3)}
.wk-range::-moz-range-thumb{width:22px;height:22px;border-radius:50%;background:#FBF8EF;border:4px solid #C4285B;box-shadow:0 3px 0 #8d1b45}
.wk-ends{display:flex;justify-content:space-between;margin:0;color:#8d6a88;font-size:12px;font-weight:900}
.wk-go{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;margin-top:10px;border:0;border-radius:999px;background:#C4285B;color:#FBF8EF;font-size:15px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;box-shadow:0 4px 0 #8d1b45}

/* Step 4: you and the others */
.wk-res-k{margin:0;color:#C4285B;font-size:11.5px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
.wk-res-you{margin:2px 0 0;font-family:var(--hand);font-size:27px;font-weight:700;line-height:1.05;color:#702A71}
.wk-res-you b{color:#C4285B;font-weight:700}
.wk-rows{display:grid;gap:5px;margin-top:8px}
.wk-row{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:27px;padding:0 10px;border-radius:10px;background:rgba(112,42,113,.07);overflow:hidden;font-size:13px;font-weight:900}
.wk-row i{position:absolute;inset:0 auto 0 0;width:0;background:rgba(196,40,91,.16);transition:width 1s cubic-bezier(.2,.8,.2,1)}
.wk-row span,.wk-row b{position:relative}
.wk-row.is-you{background:rgba(196,40,91,.12);box-shadow:inset 0 0 0 2px rgba(196,40,91,.35)}
.wk-row.is-you i{background:linear-gradient(90deg,rgba(240,80,140,.5),rgba(196,40,91,.55))}
.wk-row.is-you span,.wk-row.is-you b{color:#5a0f35}
.wk-row em{position:relative;margin-left:6px;padding:1px 7px;border-radius:999px;background:#C4285B;color:#FBF8EF;font-size:10px;font-style:normal;letter-spacing:.08em;text-transform:uppercase}
.wk-float--left{right:auto;align-items:flex-start;max-width:60%;padding-left:22px;text-align:left}
.wk-float--left .wk-float__unit{margin:6px 0 0 2px}
@media (max-width:370px){.wk-glass--btn span{display:none}.wk-glass--btn{padding:0 9px}}
.wk-hist{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;align-items:end;gap:5px;height:104px;margin-top:10px;padding-top:18px}
.wk-hist div{position:relative;display:flex;flex-direction:column;justify-content:flex-end;height:100%}
.wk-hist i{display:block;height:0;border-radius:6px 6px 3px 3px;background:rgba(112,42,113,.2);transition:height .9s cubic-bezier(.2,.8,.2,1)}
.wk-hist div.is-you i{background:linear-gradient(#F0508C,#C4285B)}
.wk-hist div.is-you::before{content:"Vous";position:absolute;left:50%;top:-16px;transform:translateX(-50%);padding:1px 6px;border-radius:999px;background:#C4285B;color:#FBF8EF;font-size:9.5px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.wk-hist span{display:block;margin-top:4px;color:#8d6a88;font-size:10.5px;font-weight:900;text-align:center;white-space:nowrap}
.wk-res-line{margin:6px 0 0;color:#4a2350;font-size:13px;font-weight:800;line-height:1.3}
.wk-talk{margin:10px 0 0;padding:9px 12px;border-radius:16px;background:#FFE3EC}
.wk-talk b{display:block;color:#C4285B;font-size:11px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
.wk-talk p{margin:2px 0 0;color:#702A71;font-size:14.5px;font-weight:900;line-height:1.28}
.wk-end{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:10px}
.wk-end button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 16px;border:0;border-radius:999px;font-size:13.5px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.wk-end svg{width:17px;height:17px}
.wk-share{background:#C4285B;color:#FBF8EF;box-shadow:0 4px 0 #8d1b45}
.wk-close{background:transparent;color:#702A71;box-shadow:inset 0 0 0 2px rgba(112,42,113,.22)}

/* Folded: the button of formula C, with a little window on the scene */
.wk-folded{position:absolute;inset:0;z-index:7;display:flex;align-items:center;gap:12px;width:100%;padding:11px 12px;border:0;background:#FBF8EF;color:#702A71;text-align:left;opacity:0;visibility:hidden;transition:opacity .35s,visibility 0s .35s}
.wk.is-folded{height:84px;background:#FBF8EF;box-shadow:0 5px 0 rgba(90,10,60,.38),0 14px 28px rgba(60,5,40,.28)}
.wk.is-folded .wk-folded{opacity:1;visibility:visible;transition:opacity .45s .2s,visibility 0s}
.wk.is-folded .wk-head,.wk.is-folded .wk-sheet,.wk.is-folded .wk-scene{opacity:0}
.wk-folded__win{position:relative;flex:none;width:58px;height:58px;border-radius:16px;overflow:hidden;box-shadow:0 3px 0 rgba(112,42,113,.3)}
.wk-folded__win svg{display:block;width:100%;height:100%}
.wk-folded__words{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.wk-folded__k{color:#C4285B;font-size:10.5px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap}
.wk-folded__q{overflow:hidden;color:#702A71;font-size:15.5px;font-weight:900;line-height:1.2;white-space:nowrap;text-overflow:ellipsis}
.wk-folded__s{overflow:hidden;color:#8d6a88;font-size:12.5px;font-weight:800;white-space:nowrap;text-overflow:ellipsis}
.wk-folded__go{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#C4285B;color:#FBF8EF;box-shadow:0 3px 0 #8d1b45}
.wk-folded__go svg{width:18px;height:18px}

/* A card folded before it shows (its state kept on the phone) does not fold again in front of the couple. */
.wk.is-quiet,.wk.is-quiet *{transition:none!important}
.wk-hint--preview{margin-top:4px;color:#C4285B;font-size:12px}
.wk-q b{font-weight:900}
.wk-folded__win{background:#2a0b33}

/* The scenes */
/* Scenes: calm loops, one moment when the answer comes. Every element that turns or floats has its own box. */
.wk-scene .fb{transform-box:fill-box;transform-origin:center}
.wk-scene .tw{animation:tw 3.4s ease-in-out infinite;animation-delay:var(--d,0s)}
.wk-scene .up{animation:up var(--t,7s) linear infinite;animation-delay:var(--d,0s);opacity:0}
.wk-scene .waveX{animation:waveX 5s linear infinite}
.wk-scene .waveX2{animation:waveX 8s linear infinite reverse}
.wk-scene .shim{animation:shim 2.6s ease-in-out infinite;animation-delay:var(--d,0s)}
.wk-scene .bob{animation:bob 4s ease-in-out infinite}
@keyframes tw{0%,100%{opacity:.25}50%{opacity:1}}
@keyframes up{0%{opacity:0;transform:translateY(0) scale(.7)}12%{opacity:.85}100%{opacity:0;transform:translateY(-150px) scale(1.05)}}
@keyframes waveX{to{transform:translateX(-40px)}}
@keyframes shim{0%,100%{opacity:.2}50%{opacity:.85}}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes sway{0%,100%{transform:rotate(-2.5deg)}50%{transform:rotate(2deg)}}
@keyframes ringOut{0%{opacity:.9;transform:scale(.7)}100%{opacity:0;transform:scale(1.7)}}
@keyframes popIn{0%{opacity:0;transform:scale(.2)}60%{opacity:1;transform:scale(1.12)}100%{opacity:1;transform:scale(1)}}
@keyframes burst{0%{opacity:0;transform:scale(.15)}15%{opacity:1}70%{opacity:.9}100%{opacity:0;transform:scale(1)}}

/* 1 · the beach */
.s1-palm{transform-box:view-box;transform-origin:62px 170px;animation:sway 7s ease-in-out infinite}
.s1-glow{transform-box:fill-box;transform-origin:center;animation:shim 5s ease-in-out infinite}
.s1-shoot{stroke-dasharray:70 400;stroke-dashoffset:70;opacity:0}
.is-reveal .s1-shoot{animation:shoot 1.3s ease-out .25s both}
@keyframes shoot{0%{stroke-dashoffset:70;opacity:0}10%{opacity:1}100%{stroke-dashoffset:-330;opacity:0}}
.is-reveal .s1-glow{animation:none;opacity:1;transform:scale(1.35);transition:transform 1.2s ease,opacity 1s}
.s1-blanket{opacity:.95}

/* 2 · the two hearts */
.s2-liq{transition:transform 1.5s cubic-bezier(.25,.9,.3,1)}
.s2-pct{opacity:0;transition:opacity .5s .9s}
.is-reveal .s2-pct,.is-you .s2-pct{opacity:1}
.s2-q{transition:opacity .3s}
.is-reveal .s2-q,.is-you .s2-q{opacity:0}
.s2-beat{transform-box:fill-box;transform-origin:center}
.is-reveal .s2-left .s2-beat{animation:heartBeat 1s ease 1.4s 2}
@keyframes heartBeat{0%,100%{transform:scale(1)}30%{transform:scale(1.08)}60%{transform:scale(.98)}}

/* 3 · the phone */
.s3-b{opacity:0;transform-box:fill-box;transform-origin:center;animation:bubble 10s ease infinite;animation-delay:var(--d)}
@keyframes bubble{0%{opacity:0;transform:translateY(8px) scale(.9)}6%,86%{opacity:1;transform:none}94%,100%{opacity:0;transform:translateY(-4px)}}
.s3-dot{animation:dot 1.2s ease-in-out infinite;animation-delay:var(--d)}
@keyframes dot{0%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}
.s3-phone{transform-box:fill-box;transform-origin:center bottom}
.is-reveal .s3-phone{animation:buzz .5s ease .3s 2}
@keyframes buzz{25%{transform:rotate(-2deg)}75%{transform:rotate(2deg)}}
.s3-notif{opacity:0;transform:translateY(-14px)}
.is-reveal .s3-notif{animation:notif 2.4s cubic-bezier(.2,.9,.3,1) .5s both}
@keyframes notif{0%{opacity:0;transform:translateY(-14px)}20%,80%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-6px)}}

/* 4 · the stopwatch */
.s4-hand{transform-box:view-box;transform-origin:250px 104px;transform:rotate(var(--a,0deg));transition:transform 1.5s cubic-bezier(.3,.9,.25,1)}
.is-you .s4-hand{transition-duration:.25s}
.s4-sweep{transform-box:view-box;transform-origin:250px 104px;animation:spin 8s linear infinite}
.is-reveal .s4-sweep,.is-you .s4-sweep{animation:none;opacity:0}
@keyframes spin{to{transform:rotate(360deg)}}
.s4-ring{transform-box:fill-box;transform-origin:center;opacity:0}
.is-reveal .s4-ring{animation:ringOut 1.1s ease-out 1.5s both}
.s4-read{opacity:.55}
.is-reveal .s4-read,.is-you .s4-read{opacity:1}
.s4-crown{transform-box:fill-box;transform-origin:center bottom}
.is-reveal .s4-crown{animation:press .4s ease .1s}
@keyframes press{50%{transform:translateY(3px)}}

/* 5 · the letter */
.s5-flap{transform-box:view-box;transform-origin:240px 62px;transition:transform .9s cubic-bezier(.3,.9,.3,1) .2s}
.is-reveal .s5-flap,.is-you .s5-flap{transform:scaleY(-1)}
.s5-note{transition:transform 1s cubic-bezier(.3,.9,.3,1) .7s}
.is-reveal .s5-note,.is-you .s5-note{transform:translateY(-34px)}
.s5-kiss{opacity:0;transform-box:fill-box;transform-origin:center;transform:scale(.4);transition:opacity .25s,transform .35s cubic-bezier(.3,1.6,.5,1)}
.s5-kiss.is-on{opacity:1;transform:scale(1)}

/* 6 · the constellations */
.s6-line{stroke-dasharray:var(--l) var(--l);stroke-dashoffset:var(--l);transition:stroke-dashoffset 1.6s ease var(--d,0s)}
.is-reveal .s6-line,.is-you .s6-line{stroke-dashoffset:0}
.s6-star{opacity:.35;transition:opacity .6s ease var(--d,0s)}
.is-reveal .s6-star,.is-you .s6-star{opacity:1}
.s6-old{opacity:.5}
.s6-lab{opacity:0;transition:opacity .6s 1.3s}
.is-reveal .s6-lab,.is-you .s6-lab{opacity:.85}

/* 7 · the porch */
.s7-chair{transform-box:fill-box;transform-origin:50% 92%;animation:rock 4.6s ease-in-out infinite;animation-delay:var(--d,0s)}
@keyframes rock{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}
.s7-side{transition:transform 1s cubic-bezier(.3,.9,.3,1)}
[data-pick="2"] .s7-l{transform:translateX(14px)}
[data-pick="2"] .s7-r{transform:translateX(-14px)}
.s7-fly{animation:fly var(--t,9s) ease-in-out infinite alternate;animation-delay:var(--d,0s)}
@keyframes fly{0%{transform:translate(0,0)}50%{transform:translate(12px,-8px)}100%{transform:translate(-8px,6px)}}
.s7-heart{opacity:0;transform-box:fill-box;transform-origin:center bottom}
.is-reveal .s7-heart{animation:heartRise 2.4s ease .4s both}
@keyframes heartRise{0%{opacity:0;transform:translateY(16px) scale(.4)}40%{opacity:1;transform:translateY(-4px) scale(1.05)}100%{opacity:.95;transform:translateY(-10px) scale(1)}}
.s7-spark{opacity:0}
[data-pick="0"] .s7-spark{animation:burst 1.6s ease-out infinite;animation-delay:var(--d)}
[data-pick="1"] .s7-heart{animation:heartRise 2.4s ease both}

/* 8 · the door */
.s8-hanger{transform-box:view-box;transform-origin:268px 108px;animation:hang 3.8s ease-in-out infinite}
@keyframes hang{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(4deg)}}
.s8-light{animation:shim 4s ease-in-out infinite}
.is-reveal .s8-light{animation:none;opacity:1}
.s8-h{opacity:0}
.is-reveal .s8-h{animation:up 3.2s ease-out both;animation-delay:var(--d)}

/* 9 · the fire */
.s9-flame{transform-box:view-box;transform-origin:250px 150px;transform:scale(var(--f,.72));transition:transform .45s cubic-bezier(.3,1.3,.5,1)}
.s9-fl{transform-box:fill-box;transform-origin:50% 100%;animation:flick 1.6s ease-in-out infinite;animation-delay:var(--d,0s)}
@keyframes flick{0%,100%{transform:scale(1,1) skewX(0)}25%{transform:scale(.96,1.05) skewX(2deg)}50%{transform:scale(1.03,.96) skewX(-1.5deg)}75%{transform:scale(.98,1.03) skewX(1deg)}}
.s9-glow{transform-box:fill-box;transform-origin:center;opacity:calc(var(--f,.72) * .9);transform:scale(var(--f,.72));transition:transform .45s,opacity .45s}
.is-reveal .s9-sparkB{animation:up 1.8s ease-out both;animation-delay:var(--d)}
.s9-sparkB{opacity:0}

/* 10 · the fireworks */
.s10-fw{opacity:0;transform-box:fill-box;transform-origin:center}
.s10-amb{animation:burst 2.6s ease-out infinite;animation-delay:var(--d)}
.is-reveal .s10-big{animation:burst 2.2s ease-out both;animation-delay:var(--d)}
.s10-win{animation:shim 5s ease-in-out infinite;animation-delay:var(--d)}
.s10-pick{opacity:0}
[data-pick] .s10-pick{animation:burst 2s ease-out both}

/* 11 · the gift */
.s11-box{transform-box:fill-box;transform-origin:center bottom;animation:hop 3.2s ease-in-out infinite}
@keyframes hop{0%,70%,100%{transform:none}78%{transform:translateY(-6px) scale(1,1.02)}86%{transform:translateY(0) scale(1.03,.97)}}
.s11-lid{transform-box:fill-box;transform-origin:15% 100%;transition:transform .6s cubic-bezier(.3,1.4,.5,1)}
.is-reveal .s11-lid{animation:lid 2s cubic-bezier(.3,1.2,.5,1) .3s both}
@keyframes lid{0%{transform:none}30%,70%{transform:translateY(-16px) rotate(-12deg)}100%{transform:none}}
[data-pick="0"] .s11-lid{transform:translateY(-8px) rotate(-8deg)}
.s11-in{opacity:0}
.is-reveal .s11-in{animation:up 2.4s ease-out both;animation-delay:var(--d)}
[data-pick="0"] .s11-in{animation:up 2.4s ease-out infinite;animation-delay:var(--d)}
.s11-tag{transform-box:fill-box;transform-origin:50% 0;animation:sway 3s ease-in-out infinite}
.s11-lock{opacity:0;transform-box:fill-box;transform-origin:center;transform:scale(.3);transition:opacity .3s,transform .5s cubic-bezier(.3,1.6,.5,1)}
[data-pick="2"] .s11-lock{opacity:1;transform:none}

/* 12 · the summer */
.s12-boat{animation:boat 16s ease-in-out infinite alternate}
@keyframes boat{to{transform:translateX(70px)}}
.s12-sun{transform-box:fill-box;transform-origin:center;animation:shim 6s ease-in-out infinite}
.s12-cloud{opacity:0;transform:translateX(-90px);transition:transform 1.4s ease,opacity .8s}
[data-pick="2"] .s12-cloud{opacity:1;transform:none}
.s12-h{opacity:0}
.is-reveal .s12-h,[data-pick="0"] .s12-h{animation:up 3.4s ease-out infinite;animation-delay:var(--d)}

/* The public page (lot 4, template/seo/chiffre-de-la-semaine.php): after the reaction, « La suite, à deux », the ember
   « Jouer en ligne » into the space (the site's .lc-ember) and « Partager ». */
.wk-next{display:flex;flex-direction:column;gap:12px;padding-top:6px}
.wk-next__k{margin:0;font-family:var(--hand);font-size:31px;font-weight:700;line-height:1;color:#C4285B}
.wk-next__t{margin:0;font-size:15.5px;font-weight:800;line-height:1.4;color:#702A71}
.wk-next__go{width:100%;margin-top:4px}
.wk-next__share{display:flex;align-items:center;justify-content:center;gap:8px;height:48px;border:2px solid rgba(112,42,113,.18);border-radius:999px;background:#fff;color:#702A71;font-size:14px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
.wk-next__share svg{width:18px;height:18px}

/* 13 · the week on a calendar */
.s13-c{transition:fill .35s,stroke .35s}
.s13-c.is-on{fill:#FFE3EC;stroke:#F0508C}
.s13-h,.s13-half{opacity:0;transform:translateY(-18px) scale(.4);transition:opacity .3s,transform .55s cubic-bezier(.3,1.5,.5,1)}
.s13-h.is-on,.s13-half.is-on{opacity:1;transform:none}
.s13-o{opacity:0;transition:opacity .5s}
.s13-o.is-on{opacity:.55}
.s13-glow{transform-box:fill-box;transform-origin:center;opacity:.6;transition:opacity 1s,transform 1.2s ease}
.is-reveal .s13-glow{opacity:1;transform:scale(1.15)}
.is-reveal .s13-cal{animation:s13bump .7s ease .95s}
@keyframes s13bump{30%{transform:translateY(-3px)}65%{transform:translateY(1.5px)}}
.is-reveal .s13-top{animation:heartBeat 1s ease 1.7s 2}
/* The little window of the folded card shows the answer of the scenes that have one (13). */
.wk-folded__win .wk-mark{opacity:1;transform:none}

@media (prefers-reduced-motion:reduce){
  .wk-scene *,.wk-wave path{animation:none!important}
  .wk,.wk-sheet,.wk-pane,.wk-float,.wk-scene,.wk-bar i,.wk-row i,.wk-hist i,.s2-liq,.s4-hand,.s9-flame{transition-duration:.01s!important;transition-delay:0s!important}
}

/* Greek and Japanese: Caveat has none of their letters, so its lines take the font of the space (as the space does). */
.wk:lang(el) :is(.wk-verdict, .wk-float__verdict, .wk-you-k, .wk-res-you, .wk-read em),
.wk:lang(ja) :is(.wk-verdict, .wk-float__verdict, .wk-you-k, .wk-res-you, .wk-read em) { font-family: inherit; font-weight: 900; }
.wk:lang(el) .wk-verdict, .wk:lang(ja) .wk-verdict { font-size: 22px; }
.wk:lang(el) .wk-float__verdict, .wk:lang(ja) .wk-float__verdict { font-size: 25px; }
.wk:lang(el) .wk-you-k, .wk:lang(ja) .wk-you-k { font-size: 23px; }
.wk:lang(el) .wk-res-you, .wk:lang(ja) .wk-res-you { font-size: 20px; }
.wk:lang(el) .wk-read em, .wk:lang(ja) .wk-read em { font-size: 17px; }
.wk:lang(el) .wk-scene text, .wk:lang(ja) .wk-scene text { font-family: inherit; }

/* The name of the card too long beside « Partager » (static/js/espace/chiffre-semaine.js, fitHead): the icon alone. */
.wk--narrow .wk-glass--btn span { display: none; }
.wk--narrow .wk-glass--btn { padding: 0 9px; }
