.motion-prototype[data-view="stage"]:has(.motion-scene--banknote) { overflow-y:auto; }
.motion-prototype .motion-scene--banknote .motion-copy { padding-top:0; }
/* The paper has no control strip; center it in the space above the 48px actions. */
.motion-prototype .scene-tools > .banknote-a-exhibit { position:relative; grid-template-rows:minmax(0,1fr); height:calc(100% - var(--stage-actions-bottom) - 48px); }
.motion-prototype .a-exhibit-board { position:relative; min-height:0; min-width:0; overflow:hidden; isolation:isolate; touch-action:pan-y; }
.motion-prototype .a-exhibit-board:focus-visible { outline:1px solid var(--muted); outline-offset:5px; border-radius:4px; }
.motion-prototype .a-exhibit-board.is-paper-loupe { cursor:zoom-in; }
.motion-prototype .a-exhibit-board.is-paper-loupe[data-lens-ready="true"] { cursor:none; }
.motion-prototype .a-exhibit-paper-window { position:absolute; inset:0; }
.motion-prototype .a-exhibit-paper { position:absolute; transform-origin:0 0; filter:drop-shadow(0 3px 7px rgb(0 0 0 / 12%)); }
.motion-prototype .a-exhibit-board[data-ready="true"] .a-exhibit-paper { transition:opacity 320ms ease; }
.motion-prototype .a-exhibit-paper img { position:absolute; display:block; user-select:none; pointer-events:none; }
/* Final and loupe share the complete master viewBox, including its margins. */
.motion-prototype .a-exhibit-master { left:0; top:0; width:100%; height:100%; object-fit:contain; opacity:1; }
/* Restored original-image final: register it to the historical physical paper. */
.motion-prototype .a-exhibit-master--original { left:1.19667%; top:6.60147%; width:97.65869%; height:87.53056%; }
.motion-prototype .a-exhibit-lens {
  position:absolute;
  z-index:2;
  overflow:hidden;
  box-sizing:content-box;
  border-radius:50%;
  background:#eee9d8;
  box-shadow:0 0 0 1px rgb(23 23 23 / 24%),0 3px 14px rgb(0 0 0 / 12%);
  pointer-events:none;
  contain:layout paint;
}
.motion-prototype .a-exhibit-vector {
  position:absolute;
  left:0; top:0;
  display:block;
  max-width:none;
  object-fit:contain;
  user-select:none;
  pointer-events:none;
}
.motion-prototype .a-exhibit-canvas { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.motion-prototype .a-exhibit-error { flex-basis:100%; color:var(--muted); font-size:12px; line-height:1.6; text-align:center; }
.motion-prototype .banknote-a-exhibit [hidden] { display:none!important; }
@media (prefers-reduced-motion:reduce) { .motion-prototype .a-exhibit-paper, .motion-prototype .a-exhibit-vector { transition:none; } }
