/* V54: accepted flat sketches, finite hover/focus/tap motion, static without JS. */
.sj-sketch-card .sj-sketch-scene{display:block;position:relative;width:100%;height:auto;aspect-ratio:8/5;flex:0 0 auto;overflow:hidden;background:#f3f2ec;direction:ltr;isolation:isolate}
.sj-sketch-card .sj-sketch-scene>svg{display:block;width:100%;height:100%;transform:none}
.sj-sketch-card .sj-sketch-replay{display:none;align-items:center;align-self:flex-start;min-height:44px;margin-top:12px;padding:6px 0;border:0;background:transparent;color:#176a72;font:500 13px/1.5 "DM Sans",sans-serif;text-align:start;cursor:pointer}
.js .sj-sketch-card .sj-sketch-replay{display:inline-flex}
.sj-sketch-card .sj-sketch-replay:hover{text-decoration:underline;text-underline-offset:4px}
.sj-sketch-card .sj-sketch-replay:focus-visible{outline:2px solid #176a72;outline-offset:4px}
#packageGrid .sj-sketch-card{overflow:hidden;min-width:0}
#packageGrid .sj-sketch-card .product-card-body{flex:1;display:flex;flex-direction:column}
#packageGrid .sj-sketch-card .product-link{margin-top:auto}
.sj-sketch-card .sj-sketch-concept{font-size:12px;line-height:1.6;color:#516b75}
#checkups .sj-sketch-card{height:auto;min-height:0;overflow:hidden}
html[lang="ar"] .sj-sketch-card .sj-sketch-replay{font-family:"Noto Sans Arabic",sans-serif}
@media(prefers-reduced-motion:reduce){.sj-sketch-card *{animation:none!important}.js .sj-sketch-card .sj-sketch-replay{display:none}}

/* Joints use SVG coordinates; the people are never scaled or skewed. */
.sj-sketch-card.is-playing .metabolic-original-lean{animation:metabolic-original-v60 4.6s ease-in-out both}
@keyframes metabolic-original-v60{0%,8%,100%{opacity:0}24%,88%{opacity:1}}
.sj-sketch-card .heart-beat{transform-box:view-box;transform-origin:201px 123px}
.sj-sketch-card .blood-particles{transform-box:view-box;transform-origin:250px 130px}
.sj-sketch-card .signal-ring{transform-box:view-box;transform-origin:235px 116px}
.sj-sketch-card .attention{opacity:0}
.sj-sketch-card.is-playing .age-hair{animation:age-hair-v40 4.6s ease-in-out both}
@keyframes age-hair-v40{0%,100%{fill:#7f8878}38%{fill:#a1a998}72%,85%{fill:#cbd0c1}}
.sj-sketch-card.is-playing .age-lines{animation:age-lines-v56 4.6s ease-in-out both}
@keyframes age-lines-v56{0%,100%{opacity:0}38%{opacity:.15}72%,85%{opacity:.55}}
.sj-sketch-card.is-playing .sample-drop{animation:sample-drop-v40 4.6s ease-in-out both}
@keyframes sample-drop-v40{0%,100%{opacity:1}40%{opacity:.4}75%{opacity:1}}
.sj-sketch-card.is-playing .heart-beat{animation:heart-beat-v40 3.8s linear both}
@keyframes heart-beat-v40{0%,7.9%,28.9%,46.1%,68.4%,100%{transform:scale(1)}18.4%{transform:scale(.97)}57.2%{transform:scale(.965)}}
.sj-sketch-card.is-playing .hair-part{animation:hair-part-v49 6.4s ease-in-out both}
.sj-sketch-card.is-playing .hair-density-lines{animation:hair-density-v49 6.4s ease-in-out both}
.sj-sketch-card.is-playing .skin-face{animation:skin-tone-v47 6.4s ease-in-out both}
.sj-sketch-card.is-playing .skin-warmth{animation:skin-warmth-v47 6.4s ease-in-out both}
.sj-sketch-card.is-playing .skin-sheen{animation:skin-sheen-v47 6.4s ease-in-out both}
@keyframes hair-part-v49{0%,8%,100%{stroke-width:6.5px}60%,94%{stroke-width:2.2px}}
@keyframes hair-density-v49{0%,8%,100%{stroke-dashoffset:100;opacity:.2}60%,94%{stroke-dashoffset:0;opacity:1}}
@keyframes skin-tone-v47{0%,52%,100%{fill:#d1b9a5}72%,94%{fill:#e6b596}}
@keyframes skin-warmth-v47{0%,52%,100%{opacity:0}72%,94%{opacity:.48}}
@keyframes skin-sheen-v47{0%,58%{opacity:0;transform:translateX(0)}66%{opacity:.3;transform:translateX(0)}88%{opacity:.3;transform:translateX(70px)}94%,100%{opacity:0;transform:translateX(70px)}}
.sj-sketch-card.is-playing .cycle-arc{animation:cycle-arc-v40 4.6s ease-in-out both}
@keyframes cycle-arc-v40{0%,100%{opacity:.6}40%{opacity:1}75%{opacity:.35}}
.sj-sketch-card.is-playing .gut-flow{animation:gut-flow-v40 4.6s linear both}
@keyframes gut-flow-v40{0%{stroke-dashoffset:0;opacity:0}12%,88%{opacity:1}100%{stroke-dashoffset:-334;opacity:0}}
.sj-sketch-card.is-playing .muscle-lines{animation:muscle-lines-v40 4.6s ease-in-out both}
@keyframes muscle-lines-v40{0%,100%{opacity:.65}35%,65%{opacity:1;stroke:#f2d5bb}}
.sj-sketch-card.is-playing .family-thread{animation:family-thread-v40 4.6s ease-in-out both}
@keyframes family-thread-v40{0%,100%{opacity:1;stroke:#b9c9af}45%,70%{opacity:1;stroke:#6f9986}}
.sj-sketch-card.is-playing .attention{animation:body-attention-v40 4.6s ease-in-out both}
.sj-sketch-card.is-playing .a2{animation-name:body-attention-2-v40}
.sj-sketch-card.is-playing .a3{animation-name:body-attention-3-v40}
@keyframes body-attention-v40{0%,8%,40%,100%{opacity:0}20%,30%{opacity:.85}}
@keyframes body-attention-2-v40{0%,32%,69%,100%{opacity:0}44%,57%{opacity:.85}}
@keyframes body-attention-3-v40{0%,61%,100%{opacity:0}73%,87%{opacity:.85}}
.sj-sketch-card.is-playing .site{animation:genetic-site-v40 4.6s ease-in-out both}
.sj-sketch-card.is-playing .s2{animation-name:genetic-site-2-v40}
.sj-sketch-card.is-playing .s3{animation-name:genetic-site-3-v40}
@keyframes genetic-site-v40{0%,100%{fill:#f4edda;stroke-width:1.5}25%,40%{fill:#6d9f8a;stroke-width:2.5}}
@keyframes genetic-site-2-v40{0%,100%{fill:#f4edda;stroke-width:1.5}45%,60%{fill:#6d9f8a;stroke-width:2.5}}
@keyframes genetic-site-3-v40{0%,100%{fill:#f4edda;stroke-width:1.5}65%,80%{fill:#6d9f8a;stroke-width:2.5}}
.sj-sketch-card.is-playing .blood-particles{animation:blood-particles-v40 4.6s ease-in-out both}
.sj-sketch-card.is-playing .dna-fragments{animation:dna-fragments-v40 4.6s ease-in-out both}
.sj-sketch-card.is-playing .signal-ring{animation:signal-ring-v40 4.6s ease-in-out both}
@keyframes blood-particles-v40{0%,100%{transform:translate(0,0)}50%{transform:translate(2px,-3px)}}
@keyframes dna-fragments-v40{0%,100%{opacity:.65}45%,65%{opacity:1}}
@keyframes signal-ring-v40{0%,100%{opacity:.35;transform:scale(1)}45%,65%{opacity:.9;transform:scale(1.08)}}

.sj-sketch-card.is-playing .age-lines{animation:age-lines-v42 4.6s ease-in-out both}
@keyframes age-lines-v42{0%,100%{opacity:0}40%{opacity:.15}75%,85%{opacity:.55}}

/* V63: supplied portraits; one scene, no regenerated features. */
.sj-sketch-card.is-playing .hair-skin-original-fuller{animation:hair-skin-original-v63 6.4s ease-in-out both}
@keyframes hair-skin-original-v63{0%,8%,100%{opacity:0}28%,88%{opacity:1}}

/* Transparent originals cross-fade in both directions, with no first-frame silhouette left behind. */
.sj-sketch-card.is-playing .hair-skin-original-baseline{animation:hair-skin-baseline-v63 6.4s ease-in-out both}
@keyframes hair-skin-baseline-v63{0%,8%,100%{opacity:1}28%,88%{opacity:0}}
.sj-sketch-card.is-playing .metabolic-original-baseline{animation:metabolic-baseline-v63 4.6s ease-in-out both}
@keyframes metabolic-baseline-v63{0%,8%,100%{opacity:1}24%,88%{opacity:0}}

#hair-skin-card{scroll-margin-top:110px}

/* V64: supplied hormonal illustration stays fixed; only its existing cycle marker is emphasized. */
.sj-sketch-card.is-playing .hormonal-original-pulse{animation:hormonal-original-pulse-v64 4.6s ease-out both}
@keyframes hormonal-original-pulse-v64{0%,100%{opacity:0;r:18px}18%{opacity:.6;r:18px}58%,80%{opacity:0;r:38px}}

#hormonal-health-card{scroll-margin-top:110px}

/* V65: the fuller-haired portrait is the default; hover/focus/tap reveals the alternate. */
.sj-sketch-card.is-playing .hair-skin-default{animation:hair-skin-baseline-v63 6.4s ease-in-out both}
.sj-sketch-card.is-playing .hair-skin-hover{animation:hair-skin-original-v63 6.4s ease-in-out both}

/* V67: original full-resolution artwork stays fixed; vector highlights respond to hover/focus/tap. */
.general-health-chest,.general-health-abdomen{transform-box:fill-box;transform-origin:center;opacity:0}
.sj-sketch-card.is-playing .general-health-chest{animation:general-health-chest-v67 4.6s ease-in-out both}
.sj-sketch-card.is-playing .general-health-abdomen{animation:general-health-abdomen-v67 4.6s ease-in-out both}
@keyframes general-health-chest-v67{0%,8%{opacity:0;transform:scale(.97)}18%,26%{opacity:.65;transform:scale(1)}42%,100%{opacity:0;transform:scale(1.3)}}
@keyframes general-health-abdomen-v67{0%,40%{opacity:0;transform:scale(.98)}54%,64%{opacity:.6;transform:scale(1)}86%,100%{opacity:0;transform:scale(1.2)}}

#general-health-check-card{scroll-margin-top:110px}

/* V68: one head-to-toe sweep over the unchanged full-resolution supplied figure. */
.general-health-scan-frame,.general-health-scan-band{opacity:0}
.sj-sketch-card.is-playing .general-health-scan-frame{animation:general-health-frame-v68 4.6s ease-in-out both}
.sj-sketch-card.is-playing .general-health-scan-band{animation:general-health-scan-v68 4.6s linear both}
@keyframes general-health-frame-v68{0%,100%{opacity:0}8%,84%{opacity:.5}}
@keyframes general-health-scan-v68{0%{opacity:0;transform:translateY(0)}8%{opacity:.85;transform:translateY(0)}84%{opacity:.85;transform:translateY(710px)}96%,100%{opacity:0;transform:translateY(710px)}}

/* V69: keep the healthy portrait opaque; only two restrained hair glints animate. */
.hair-skin-healthy-portrait{opacity:1}
.hair-skin-shine-one,.hair-skin-shine-two{opacity:0;transform-box:fill-box;transform-origin:center}
.sj-sketch-card.is-playing .hair-skin-shine-one{animation:hair-shine-one-v69 6.4s ease-in-out both}
.sj-sketch-card.is-playing .hair-skin-shine-two{animation:hair-shine-two-v69 6.4s ease-in-out both}
@keyframes hair-shine-one-v69{0%,6%,46%,100%{opacity:0;transform:scale(.65)}20%,28%{opacity:.85;transform:scale(1)}}
@keyframes hair-shine-two-v69{0%,26%,82%,100%{opacity:0;transform:scale(.65)}46%,56%{opacity:.8;transform:scale(1)}}

/* V71: visible finite motion around the cycle ring; the edited figure remains fixed. */
.hormonal-cycle-trace,.hormonal-cycle-trail{opacity:0;stroke-dashoffset:0}
.sj-sketch-card.is-playing .hormonal-cycle-trace{animation:hormonal-cycle-trace-v71 4.6s linear both}
.sj-sketch-card.is-playing .hormonal-cycle-trail{animation:hormonal-cycle-trail-v71 4.6s linear both}
@keyframes hormonal-cycle-trace-v71{0%{opacity:0;stroke-dashoffset:0}8%{opacity:.9}90%{opacity:.9}100%{opacity:0;stroke-dashoffset:-100}}
@keyframes hormonal-cycle-trail-v71{0%{opacity:0;stroke-dashoffset:0}8%{opacity:.17}90%{opacity:.17}100%{opacity:0;stroke-dashoffset:-100}}
