.rig {position:relative;isolation:isolate;width:100%;min-width:0;}
.rig::before {content:"";position:absolute;inset:4% 0 2%;background:radial-gradient(ellipse at 58% 67%,rgb(21 45 66 / 46%),transparent 65%);pointer-events:none;z-index:-1;}
.rig-frame {position:relative;width:100%;aspect-ratio:1120/760;overflow:hidden;}
.rig-frame::after {content:"";position:absolute;z-index:-1;bottom:7%;left:12%;width:77%;height:10%;border-radius:50%;background:#000;filter:blur(13px);opacity:.65;}
.rig-frame picture,.rig-frame img,.rig-frame canvas {position:absolute;display:block;inset:0;width:100%;height:100%;object-fit:contain;}
.rig [hidden] {display:none!important;}
.rig-tools {position:absolute;right:5%;bottom:.2%;display:flex;gap:5px;align-items:center;}
.rig-tools button {appearance:none;background:transparent;border:0;color:#b9c6d1;display:inline-flex;align-items:center;gap:5px;padding:4px 8px;min-height:44px;min-width:44px;font:500 .71rem/1.35 system-ui,sans-serif;cursor:pointer;}
.rig-tools button:hover {color:#fff;}
.rig-tools button svg {width:15px;height:15px;stroke:currentColor;stroke-width:1.55;fill:none;stroke-linejoin:round;stroke-linecap:round;}
@media(max-width:650px){.rig-tools {bottom:-6px;right:3%;}.rig-tools button{font-size:.68rem;}}
@media(prefers-reduced-motion:reduce){.rig-tools{display:none;}}
