.tv-native-dialog{box-sizing:border-box;border:1px solid #d8dfe5;border-radius:8px;background:#fff;color:#212529;padding:44px 16px 16px;max-width:calc(100% - 24px);max-height:calc(100% - 24px);width:min(900px,calc(100% - 24px));margin:auto;overflow:auto;box-shadow:0 12px 36px #0003}
.tv-native-dialog::backdrop{background:#0009}
.tv-native-dialog[data-mode=image]{width:max-content;overflow:auto}
.tv-native-dialog[data-mode=image] img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 100px);object-fit:contain;margin:auto}
.tv-dialog-close{position:absolute;top:7px;right:9px;width:32px;height:32px;font:26px/1 sans-serif;color:#212529;background:#f3f4f5;border:1px solid #d8dfe5;border-radius:5px;cursor:pointer;padding:0}
.tv-dialog-close:focus-visible{outline:2px solid #0d6efd;outline-offset:2px}
.tv-dialog-content{overflow-wrap:anywhere;min-width:0}
.tv-dialog-content img{max-width:100%;height:auto}
