/* Day 9 · Body basics · the few styles only this calm page needs (W3, 2026-11-16). Engine styles: ../calm.css */
/* zoom into you: the picture is the control */
.bb-zoom { position: relative; display: block; width: 100%; height: 100%; padding: 0; background: transparent; border: 0; cursor: zoom-in; -webkit-tap-highlight-color: transparent; touch-action: manipulation; border-radius: 22px; overflow: hidden; }
.bb-zoom .sc { position: absolute; inset: 0; opacity: 0; transform: scale(.78); transition: opacity .45s, transform .55s cubic-bezier(.2, .8, .2, 1); }
.bb-zoom .sc.on { opacity: 1; transform: none; }
.bb-zoom .sc img { width: 100%; height: 100%; object-fit: cover; }
/* peel the body: four painted layers of the same child, lined up pixel for pixel */
.bb-peel { position: relative; width: 100%; height: 100%; border-radius: 22px; overflow: hidden; background: #f6ead0; }
.bb-peel .pl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; opacity: 0; transition: opacity .55s ease; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.bb-peel .pl[data-d="0"] { opacity: 1; }
.bb-peel[data-depth="1"] .pl[data-d="1"], .bb-peel[data-depth="2"] .pl[data-d="1"], .bb-peel[data-depth="3"] .pl[data-d="1"],
.bb-peel[data-depth="2"] .pl[data-d="2"], .bb-peel[data-depth="3"] .pl[data-d="2"], .bb-peel[data-depth="3"] .pl[data-d="3"] { opacity: 1; }
.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; }
.c-hot:hover { background: rgba(255, 233, 150, .25); }
.c-hot[aria-pressed="true"] { border-color: #E0A526; background: rgba(255, 226, 120, .26); }
/* pin the job */
.bb-map { position: relative; width: 100%; height: 100%; container-type: inline-size; }
.bb-map .fig { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.bb-map .lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.c-pin { position: absolute; width: 31%; min-height: 48px; padding: 4px 8px; transform: translateY(-50%); display: flex; align-items: center; font: 800 clamp(13px, 4.1cqw, 17px)/1.12 var(--body); border-radius: 14px; box-shadow: 0 3px 0 var(--ink); text-align: left; }
.c-pin--L { left: 1.5%; } .c-pin--R { right: 1.5%; text-align: right; justify-content: flex-end; }
.c-pin[disabled]:not(.ok) { opacity: .7; cursor: default; }
/* X-ray torch */
.bb-xr { position: relative; border-radius: 22px; overflow: hidden; background: #fbf0dc; }
.bb-xr canvas { display: block; margin: 0 auto; max-width: 100%; touch-action: none; cursor: crosshair; }
.bb-trail svg { display: block; width: 100%; height: 100%; }
@media (prefers-reduced-motion: reduce) { .bb-peel .pl, .bb-zoom .sc { transition: none !important; } }
