/* Letters travel with the illuminated animal, like a cut-paper projection. */
.sm-projected-word{fill:#65432d;stroke:#ffe6a64d;stroke-width:.18;paint-order:stroke;letter-spacing:.2px}
.sm-dim .sm-projected-word{opacity:0}
.sm-lit .sm-projected-word{opacity:1}
.sm-confirm-ring{position:absolute;width:24%;aspect-ratio:1;translate:-50% -50%;z-index:8;pointer-events:none;filter:drop-shadow(0 0 5px #ffe59b)}
.sm-confirm-ring[hidden]{display:none!important}
.sm-confirm-ring svg{width:100%;height:100%;overflow:visible;rotate:-90deg}
.sm-confirm-ring circle{fill:none;stroke-width:3.5;vector-effect:non-scaling-stroke}
.sm-confirm-track{stroke:#fff4cc3b}.sm-confirm-fill{stroke:#fff0b3;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:calc(1 - var(--dwell,0))}
body.room-adventure.shadow-magic-active .sm-scene[data-round='1'] .sm-beam{inset:0!important;rotate:0deg!important;clip-path:var(--aim-beam)!important;transform:none!important;transform-origin:center;transition:none;opacity:.75}
body.room-adventure.shadow-magic-active .sm-scene[data-round='1'] .sm-torch{cursor:grab;touch-action:none}
body.room-adventure.shadow-magic-active .sm-scene[data-round='1'] .sm-torch.sm-aiming{cursor:grabbing;filter:drop-shadow(0 0 15px #ffe08d) drop-shadow(0 6px 4px #05071888)}
.sm-projector-hint{position:absolute;left:50%;bottom:100%;translate:-50% 0;white-space:nowrap;color:#fff1c8;background:#18213b99;border-radius:20px;padding:5px 12px;font:700 clamp(12px,1.5vw,18px)/1.2 'Trebuchet MS',sans-serif;pointer-events:none}
/* The rotated wings have room above and beside their original SVG viewport. */
body.room-adventure.shadow-magic-active .sm-bird{aspect-ratio:280/260!important;width:min(72cqw,64cqh)!important;top:49%!important}
body.room-adventure.shadow-magic-active .sm-bird svg{overflow:visible!important}
/* These answer photos were composed for the wide opening, not stretched into it. */
body.room-adventure #memoryScreen #memoryBoard .memory-slot img.framed-answer{object-fit:cover!important;object-position:center!important}
@media(max-width:600px){.sm-confirm-ring{width:30%}.sm-projector-hint{font-size:12px}}
@media(prefers-reduced-motion:reduce){.sm-confirm-ring,.sm-projector-hint{animation:none!important;transition:none!important}}
/* Bound each projection by wall height as well as width, leaving a full circle. */
body.room-adventure.shadow-magic-active .sm-scene[data-round='1'] .sm-animal{width:clamp(100px,22%,34cqh)!important}
body.room-adventure.shadow-magic-active .sm-scene[data-round='1'] .sm-confirm-ring{width:clamp(116px,24%,40cqh)!important}
