#ending-motion{position:absolute;z-index:5;overflow:hidden;background:#17191b;pointer-events:auto}#ending-motion[hidden]{display:none}#ending-motion>img,#ending-motion>video{position:absolute;width:100%;height:100%;object-fit:contain;inset:0}#ending-motion>video[hidden],#ending-motion>img[hidden]{display:none}#ending-motion .mcg-hint{position:absolute;left:2%;bottom:2%;font:clamp(12px,1.6vw,20px) sans-serif;background:#181b20ee;color:#f6f0e5;padding:10px;border-radius:5px}.mcg-replay,#mcg-gallery,.mcg-close{position:absolute;right:16px;top:16px;z-index:7;padding:9px 12px;background:#1f2937;color:white;border:1px solid #b8ad93;border-radius:5px}.mcg-replay{right:112px}.mcg-dialog{background:#20262c;color:white;border:1px solid #aa9d82;border-radius:12px}.mcg-dialog button{display:block;margin:10px;padding:8px;min-width:240px}button[hidden]{display:none}

/* Keep the native menu and full-image controls reachable at every viewport. */
#mcg-gallery{right:auto;left:calc(50% - 90px)}.mcg-replay{right:auto;left:calc(50% + 10px)}
