.art { overflow: hidden; }
#motion-stage, .motion-frame, .motion-outgoing, #hotspots { position: absolute; inset: 0; }
#motion-stage { z-index: 1; pointer-events: none; overflow: hidden; }
#hotspots { z-index: 2; pointer-events: none; }
#hotspots .spot { pointer-events: auto; }
.motion-frame { overflow: hidden; isolation: isolate; }
.motion-outgoing { width: 100%; height: 100%; object-fit: contain; animation: pitch-dissolve 480ms ease both; }
.motion-piece { position: absolute; background-repeat: no-repeat; animation-timing-function: cubic-bezier(.22,1,.36,1); animation-fill-mode: both; }
.motion-cover { animation-name: pitch-settle; animation-timing-function: cubic-bezier(.2,.8,.2,1); }
.motion-rise { animation-name: pitch-rise; }
.motion-reveal { animation-name: pitch-unmask; }
.motion-print { animation-name: pitch-print; }
.motion-track { animation-name: pitch-track; }
.motion-fade { animation-name: pitch-fade; }
@keyframes pitch-dissolve { from { opacity: 1; } to { opacity: 0; } }
@keyframes pitch-settle { from { transform: scale(1.035); } to { transform: scale(1); } }
@keyframes pitch-rise { from { opacity: 0; transform: translateY(clamp(7px,1.4vw,20px)); } to { opacity: 1; transform: translateY(0); } }
@keyframes pitch-unmask { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes pitch-print { from { opacity: 0; transform: translateY(clamp(7px,1.25vw,18px)) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes pitch-track { from { opacity: 0; transform: translateX(clamp(8px,1.6vw,22px)); } to { opacity: 1; transform: none; } }
@keyframes pitch-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pitch-dialog { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.motion-enabled dialog[open], .motion-enabled .detail-layout { animation: pitch-dialog .32s cubic-bezier(.22,1,.36,1) both; }
.motion-boot #art:not([data-ready]) #page-image { animation: pitch-fade .12s 1.1s both; }
#motion-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 5px 8px; white-space: nowrap; }
.motion-icon { position: relative; width: 15px; height: 15px; border: 1px solid currentColor; border-radius: 50%; }
.motion-icon::after { content: ''; position: absolute; width: 2px; height: 6px; top: 3.5px; left: 4px; border-inline: 1px solid currentColor; }
#motion-toggle[aria-pressed=false] .motion-icon::after { height: 0; width: 0; top: 3px; left: 5px; border: 0; border-block: 3.5px solid transparent; border-left: 5px solid currentColor; }
@media(max-width:840px) { #motion-label { display: none; } #motion-toggle { width: 36px; } }
@media(max-width:380px) { #controls { gap: 1px; } #previous,#next { width: 29px; } #index { padding-inline: 4px; } #controls .actions { gap: 0; } }
