.ny-gallery-dialog { position:fixed; inset:0; width:min(1080px,calc(100% - 16px)); max-width:none; max-height:calc(100% - 16px); border:0; border-radius:12px; padding:54px 52px 14px; background:#211b1c; color:#fff; box-sizing:border-box; touch-action:pan-y pinch-zoom; }
.ny-gallery-dialog::backdrop { background:#171214eb; }
body:has(.ny-gallery-dialog[open]) .footer-actions { visibility:hidden; }
.ny-gallery-dialog figure { margin:0; }
.ny-gallery-dialog figure img { display:block; width:100%; height:min(70vh,750px); object-fit:contain; }
.ny-gallery-dialog figcaption { display:flex; flex-wrap:wrap; justify-content:center; gap:8px 16px; margin-top:8px; }
.ny-gallery-dialog button { position:absolute; z-index:1; display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; border-radius:50%; background:#fff; color:#211b1c; font:26px/1 sans-serif; cursor:pointer; }
.ny-gallery-dialog button[hidden],.ny-gallery-loading[hidden] { display:none; }
.ny-gallery-dialog button:focus-visible { outline:3px solid #f7bfcf; outline-offset:2px; }
.ny-gallery-close { top:6px; right:8px; }
.ny-gallery-prev,.ny-gallery-next { top:50%; transform:translateY(-50%); }
.ny-gallery-prev { left:4px; }
.ny-gallery-next { right:4px; }
.ny-gallery-image { position:relative; }
.ny-gallery-loading { position:absolute; bottom:8px; left:50%; transform:translateX(-50%); padding:6px 10px; color:#fff; background:#211b1c; border-radius:8px; white-space:nowrap; }
@media (max-width:600px) {
    .ny-gallery-dialog { padding-inline:6px; }
}
.ny-pilot .as-chip:has(input[type="radio"]) { position:relative; }
.ny-pilot .as-chip input[type="radio"] { position:absolute; width:1px; height:1px; clip-path:inset(50%); margin:0; }
.ny-pilot .as-chip:has(input[type="radio"]:checked) { background:var(--brand); border-color:var(--brand); color:var(--on-brand); }
.ny-pilot .as-chip:has(input[type="radio"]:focus-visible) { outline:2px solid var(--brand); outline-offset:3px; }
