/* Symphonie des Cônes — V3. Style additionnel non intrusif. */
/* Ancien encart visible v1 : masquer au cas où un vieux script resterait chargé. */
#sdc-noel-welcome {display:none!important}
.sdc-gps-overlay[hidden] {display:none!important}
.sdc-gps-overlay {position:fixed;inset:0;z-index:2147483000;background:rgba(6,10,25,.79);display:flex;align-items:center;justify-content:center;padding:12px;overflow-y:auto;overscroll-behavior:contain;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
body.sdc-gps-modal-active {overflow:hidden}
.sdc-gps-dialog {box-sizing:border-box;position:relative;width:min(100%,535px);max-height:calc(100dvh - 24px);overflow-y:auto;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding:22px 22px 20px;background:radial-gradient(circle at 50% 24%,#273c64 0%,#101b37 58%,#091023 100%);border:2px solid #dfb65e;border-radius:26px;color:white;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;box-shadow:0 22px 95px rgba(0,0,0,.65),0 0 38px rgba(255,213,102,.19);isolation:isolate;animation:sdc-modal-enter .33s cubic-bezier(.2,.9,.2,1) both}
.sdc-gps-dialog * {box-sizing:border-box}
.sdc-gps-dialog:before {content:'✦       ✧        ✦            ✧';position:absolute;inset:0 auto auto 0;width:100%;font-size:23px;letter-spacing:5px;color:#f7db84;opacity:.33;pointer-events:none;animation:sdc-shimmer 4s ease-in-out infinite}
.sdc-gps-kicker {position:relative;color:#fce09c;font-size:clamp(.69rem,2.2vw,.84rem);font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.sdc-gps-dialog h2 {position:relative;color:#fff!important;font-size:clamp(1.3rem,4.2vw,1.8rem)!important;line-height:1.13;margin:4px 28px 0!important;text-align:center}
.sdc-gps-subtitle {color:#e6e9f5!important;font-size:.94rem!important;line-height:1.4;margin:0!important}
.sdc-gps-close {position:absolute;top:10px;right:12px;z-index:2;width:36px;height:36px;display:grid;place-items:center;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.35);color:white;border-radius:50%;font:bold 27px/1 system-ui;cursor:pointer}
.sdc-gps-art {position:relative;display:grid;place-items:center;width:min(100%,375px);padding:3px;margin:3px 0 5px;max-height:min(38dvh,335px)}
.sdc-gps-art:before {content:'';position:absolute;inset:12%;border-radius:50%;box-shadow:0 0 65px rgba(255,224,121,.18);pointer-events:none;animation:sdc-shimmer 4.4s ease-in-out infinite}
.sdc-gps-art img {display:block;max-width:100%;max-height:min(37dvh,326px);height:auto;width:auto;object-fit:contain;border-radius:15px;box-shadow:0 8px 35px rgba(0,0,0,.38)}
.sdc-gps-play {appearance:none;border:0;cursor:pointer;background:linear-gradient(180deg,#21a65b,#0d7939);color:white!important;display:block;width:min(100%,350px);padding:14px 24px;border-radius:16px;font-weight:950;font-size:clamp(1.35rem,5vw,1.7rem);letter-spacing:.09em;min-height:60px;box-shadow:0 5px 0 #07502c,0 8px 23px rgba(14,190,81,.27);animation:sdc-play-glow 2.1s ease-in-out infinite}
.sdc-gps-play:hover {background:linear-gradient(180deg,#26b365,#0d893d)}
.sdc-gps-play:active {transform:translateY(3px);box-shadow:0 2px 0 #07502c}
.sdc-gps-status {color:#bfcce5;font-size:.78rem;line-height:1.3;max-width:380px;min-height:1.2em}
.sdc-guide-link {display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px 12px;border-radius:11px;border:1px solid #a78750;background:#182643;color:#ffdf96!important;font-weight:750;font-size:.88rem;text-decoration:none!important;max-width:100%}
.sdc-gps-dialog :is(button,a):focus-visible {outline:3px solid #ffe082;outline-offset:3px}
.sdc-gestes-invitation {padding:1rem 1.2rem;border-radius:16px;background:linear-gradient(140deg,#162443,#2a3c60);color:#fff;margin:1rem auto;max-width:840px;text-align:center}
.sdc-gestes-invitation p {color:#e3e8f5;margin:.5rem 0 1rem}
@keyframes sdc-modal-enter {from {opacity:0;transform:translateY(18px) scale(.97)}to {opacity:1;transform:translateY(0) scale(1)}}
@keyframes sdc-play-glow {0%,100%{filter:brightness(1)}50%{filter:brightness(1.12)}}
@keyframes sdc-shimmer {0%,100%{opacity:.17}50%{opacity:.44}}
/* ANIMATIONS ORIGINALES — uniquement les 4 illustrations de catégories ciblées.
   Ces effets animent l'ensemble du dessin (pas les articulations de chaque personnage). */
img.sdc-pose-art {display:inline-block;will-change:transform,filter;transform-origin:center center;backface-visibility:hidden;transition:box-shadow .35s ease;box-shadow:0 9px 26px rgba(15,19,41,.16);border-radius:12px}
img.sdc-pose-art[data-sdc-pose-effect=scintille] {animation:sdc-art-sparkle 5.2s ease-in-out infinite}
img.sdc-pose-art[data-sdc-pose-effect=envole] {animation:sdc-art-sway 5.9s ease-in-out infinite}
img.sdc-pose-art[data-sdc-pose-effect=magie] {animation:sdc-art-magic 5.5s ease-in-out infinite}
img.sdc-pose-art[data-sdc-pose-effect=rythme] {animation:sdc-art-rhythm 4.2s ease-in-out infinite}
img.sdc-pose-art:hover {animation-play-state:paused;filter:drop-shadow(0 6px 20px rgba(252,185,63,.3));transform:scale(1.018)}
@keyframes sdc-art-sparkle {0%,100%{transform:translateY(0) scale(1);filter:brightness(1)}50%{transform:translateY(-5px) scale(1.01);filter:brightness(1.09) saturate(1.07)}}
@keyframes sdc-art-sway {0%,100%{transform:translateY(0) rotate(0deg)}30%{transform:translateY(-3px) rotate(-.55deg)}65%{transform:translateY(-5px) rotate(.55deg)}}
@keyframes sdc-art-magic {0%,100%{transform:scale(1);filter:brightness(1) saturate(1)}50%{transform:scale(1.014);filter:brightness(1.12) saturate(1.15)}}
@keyframes sdc-art-rhythm {0%,100%{transform:translateY(0) scale(1)}25%{transform:translateY(-4px) scale(1.01)}50%{transform:translateY(0) scale(1)}75%{transform:translateY(-3px) scale(1.01)}}
@media(max-width:470px) {.sdc-gps-dialog{padding:16px 12px 17px;gap:7px;border-radius:19px}.sdc-gps-dialog h2{margin:4px 33px 0!important}.sdc-gps-art{max-height:34dvh}.sdc-gps-art img{max-height:33dvh}.sdc-gps-play{min-height:58px}}
@media(max-height:630px) {.sdc-gps-art{max-height:26dvh}.sdc-gps-art img{max-height:25dvh}.sdc-gps-dialog{gap:5px;padding-top:12px;padding-bottom:12px}}
@media(prefers-reduced-motion:reduce) {.sdc-gps-dialog,.sdc-gps-dialog:before,.sdc-gps-art:before,.sdc-gps-play,img.sdc-pose-art{animation:none!important;transition:none!important;transform:none!important}}

/* Conserver la mise en page du guide /gestes-animes.html de la v1 */
/* Catalogue autonome */
.sdc-animated-page{margin:0;background:#0d142b;color:#f7f8ff;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.5}
.sdc-animated-page *{box-sizing:border-box}
.sdc-animated-page header,.sdc-animated-page main,.sdc-animated-page footer{max-width:1150px;margin:auto;padding:1.5rem}
.sdc-animated-page header{padding-top:2.3rem}
.sdc-animated-page h1{font-size:clamp(2rem,5vw,3rem);margin:.7rem 0 .5rem;line-height:1.15}
.sdc-animated-page h2{font-size:clamp(1.3rem,3vw,2rem);color:#ffe1a0;margin:2.2rem 0 1rem}
.sdc-animated-page a{color:#ffe0a6}
.sdc-animated-page .sdc-muted{color:#b9c5de}
.sdc-gesture-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:1rem}
.sdc-gesture-card{background:#1d2745;color:#fff;padding:1rem;border-radius:18px;border:1px solid #3c486c;display:flex;flex-direction:column;gap:.4rem}
.sdc-gesture-card h3{font-size:1.18rem;margin:0;color:#fff}
.sdc-gesture-card p{margin:0;color:#d5ddef;font-size:.94rem;line-height:1.4}
.sdc-gesture-card .sdc-gesture-visual{background:#f6f2e8;border-radius:12px;overflow:hidden;display:flex;justify-content:center;align-items:center}
.sdc-gesture-svg{display:block;width:180px;max-width:100%;height:auto}
.sdc-gesture-svg .sdc-stroke{stroke:#17213b;stroke-width:7;stroke-linecap:round;stroke-linejoin:round;fill:none}
.sdc-gesture-svg .sdc-hand{fill:#e6ad37;stroke:#5f4519;stroke-width:1.5}
.sdc-gesture-svg .sdc-foot{fill:#56b9e9}
.sdc-gesture-title{font-weight:750}
.sdc-note{font-size:.82rem;color:#ffe1a0;font-weight:750}
.sdc-animated-page .sdc-footer{margin-top:2rem;border-top:1px solid #394462;color:#b9c5de}
.sdc-legend{display:flex;gap:.6rem;flex-wrap:wrap;margin:.9rem 0 0}
.sdc-legend span{background:#2c3c5f;padding:.3rem .75rem;border-radius:99px;font-size:.85rem}

@media(max-width:550px) {.sdc-animated-page header,.sdc-animated-page main,.sdc-animated-page footer{padding:1rem}.sdc-gesture-grid{grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:.6rem}.sdc-gesture-card{padding:.7rem}}
