/* Day 11 · The skeleton · the few styles only this calm page needs (2026-11-18). Engine styles: ../calm.css */
/* how many bones: the picture is the control */
.sk-zoom { position: relative; display: block; width: 100%; height: 100%; padding: 0; background: transparent; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; border-radius: 22px; overflow: hidden; }
.sk-zoom .sc { position: absolute; inset: 0; opacity: 0; transform: scale(.94); transition: opacity .45s, transform .55s cubic-bezier(.2, .8, .2, 1); }
.sk-zoom .sc.on { opacity: 1; transform: none; }
.sk-zoom .sc img { width: 100%; height: 100%; object-fit: cover; }
/* the painted skeleton (find the bone, joints) */
.sk-map { position: relative; width: 100%; height: 100%; border-radius: 22px; overflow: hidden; background: #f6ead0; }
.sk-map .sk-skel { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.sk-map .c-hot { position: absolute; transform: translate(-50%, -50%); min-width: 44px; min-height: 44px; padding: 0; margin: 0; background: transparent; border: 3px solid transparent; border-radius: 50%; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.sk-map .c-hot:hover { background: rgba(255, 233, 150, .25); }
.sk-map .c-hot:focus-visible { border-color: var(--ink); }
.calm .sk-map .c-hot.no { background: rgba(240, 150, 120, .28) !important; border-color: transparent !important; }
.sk-map .c-hot.found { border-color: #3E8E5A; background: rgba(140, 210, 150, .22); cursor: default; }
.sk-map .c-hot.glow { border-color: #E0A526; background: rgba(255, 226, 120, .38); }
.sk-ring { position: absolute; width: 13%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 4px solid #E0A526; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255, 236, 170, .55), 0 0 18px rgba(255, 210, 90, .7); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .sk-ring, .sk-map .c-hot.glow { animation: skPulse 1.6s ease-in-out infinite; } }
@keyframes skPulse { 50% { scale: 1.12; } }
/* muscles pull: the same arm, straight and bent */
.sk-arm { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #fbf3df; border-radius: 22px; overflow: hidden; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.sk-arm img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s ease; }
.sk-arm .bt { opacity: 0; } .sk-arm.is-bent .bt { opacity: 1; } .sk-arm.is-bent .st { opacity: 0; }
/* a bone mends: three stages */
.sk-mend { position: relative; width: 100%; height: 100%; border-radius: 22px; overflow: hidden; background: #5a4660; }
.sk-mend img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; }
.sk-mend[data-d="0"] img[data-d="0"], .sk-mend[data-d="1"] img[data-d="1"], .sk-mend[data-d="2"] img[data-d="2"] { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .sk-zoom .sc, .sk-arm img, .sk-mend img { transition: none !important; } }
