/* Independent executable 3D study. Canonical photo is never altered. */
.granada-study{margin:24px 0 25px;background:linear-gradient(140deg,#0d2235,#080e18);border:1px solid #4b7390;overflow:hidden;position:relative}.granada-study .study-rail{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 18px;border-bottom:1px solid #29465f;font-size:10px;letter-spacing:.12em;color:#c5d9e8}.granada-study .study-rail strong{color:#b9e0ff;font-weight:600}.granada-study canvas{width:100%;height:clamp(230px,42vw,510px);display:block;touch-action:none;outline-offset:-5px;cursor:grab}.granada-study canvas:active{cursor:grabbing}.granada-study canvas:focus-visible{outline:3px solid #a6dbfb}.granada-study .study-rail span:last-child{font-size:9px;color:#90acc4}.granada-study .study-pose{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:14px 18px 18px;background:#091722}.study-pose button{min-height:44px;border:1px solid #7197b0;padding:10px 17px;background:#1b3246;color:#f5f9ff;font-size:11px}.study-pose button[aria-pressed=true]{color:#0b2032;background:#d9ebf6;border-color:white;font-weight:700}.study-pose button:focus-visible{outline:3px solid #b7e4ff;outline-offset:2px}.study-pose .study-narration{font-size:11px;color:#bcd1e1;margin:0 0 0 auto}.study-caption{border-top:1px solid #2f4c64;background:#0e1b2a;color:#b2cadd;line-height:1.6;padding:15px 20px;font-size:12px}.study-caption strong{color:#f1f7fb}.study-reality{border-left:3px solid #76bde3;padding:12px 16px;margin:14px 0 22px;color:#bdd5e7;font-size:13px}.study-image-title{font-size:11px;letter-spacing:.13em;color:#b3d4e9;margin:30px 0 0}.granada-study .study-rail,.study-pose,.study-caption{box-sizing:border-box}@media(max-width:760px){.granada-study{margin:16px -5px 22px}.granada-study canvas{height:300px}.granada-study .study-rail{font-size:8px;letter-spacing:.08em}.granada-study .study-rail span:last-child{display:none}.study-pose .study-narration{flex-basis:100%;margin:5px 0 0}.study-caption{font-size:11px}}

.lab-share-link{display:block;width:100%;padding:10px;margin-top:12px;min-height:44px;border:1px solid #6387a2;background:#081927;color:#e4f3ff;font-size:11px;box-sizing:border-box}.lab-share-link:focus-visible{outline:3px solid #c7e9fa;outline-offset:2px}.lab-share-note{font-size:10px;line-height:1.5;color:#a9c9dc;margin:8px 0 12px}

/* V3.8: optional playful mechanical study gestures, accessible on touch and keyboard. */
.study-expressions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;padding-left:10px;border-left:1px solid #4b7390}.study-expressions button{border-color:#8b684c;background:#30221c;color:#fff0df}.study-expressions button:hover{background:#513020}.study-expressions button:focus-visible{outline:3px solid #fff}
@media(max-width:760px){.study-expressions{order:5;width:100%;border-left:0;border-top:1px solid #35536a;padding:9px 0 0}.study-expressions button{flex:1;min-width:70px}}
