.threed-viewer-modal {
    box-sizing: border-box; border: 0; padding: 0; width: 90vw; height: 80vh;
    max-width: 95vw; max-height: calc(100vh - 8rem); overflow: visible;
    background: transparent; color: #111;
}
.threed-viewer-modal::backdrop { background: rgb(0 0 0 / 65%); }
.threed-viewer-dialog { width: 100%; height: 100%; overflow: hidden; background: #fff; }
.threed-viewer-dialog iframe { display: block; border: 0; width: 100%; height: 100%; }
.threed-viewer-modal > .threed-viewer-close {
    position: absolute; right: 0; bottom: calc(100% + .5rem); top: auto;
    box-sizing: border-box; margin: 0; padding: .15rem .5rem; min-height: 36px;
    max-width: 100%; border: 1px solid #fff; border-radius: 4px;
    background: #fff; color: #172033; font: 600 28px/1 sans-serif;
    cursor: pointer;
}
.threed-viewer-close:focus-visible { outline: 2px solid #2271b1; outline-offset: 2px; }
