/* Scoped to homepage image previews; native dialog supplies focus trapping and Escape. */
.ctr-home-image-dialog{box-sizing:border-box;width:min(1200px,calc(100% - 32px));max-width:none;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #34435e;border-radius:18px;background:#101a2c;color:#f5f7fc;box-shadow:0 24px 80px #0008;overflow:auto}
.ctr-home-image-dialog::backdrop{background:rgba(4,9,19,.85)}
.ctr-home-image-panel{display:flex;flex-direction:column;min-width:0}
.ctr-home-image-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px}
.ctr-home-image-header h2{margin:0;font:600 15px/1.5 system-ui,sans-serif;overflow-wrap:anywhere}
.ctr-home-image-close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid #52617b;border-radius:10px;background:#1b2940;color:#fff;font:28px/1 system-ui,sans-serif;cursor:pointer}
.ctr-home-image-content{display:block;width:100%;height:auto;max-height:72vh;max-height:72dvh;object-fit:contain;background:#080e19}
.ctr-home-image-content[hidden]{display:none}
.ctr-home-image-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;padding:12px 16px;font:14px/1.5 system-ui,sans-serif}
.ctr-home-image-footer p{margin:0;color:#c6d2e7}
.ctr-home-image-footer a{display:inline-flex;align-items:center;min-height:44px;color:#c7b9ff;text-decoration:underline;text-underline-offset:3px}
.ctr-home-image-close:focus-visible,.ctr-home-image-footer a:focus-visible{outline:3px solid #b5a0ff;outline-offset:3px}
@media(max-width:600px){.ctr-home-image-dialog{width:calc(100% - 16px);max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);border-radius:12px}.ctr-home-image-header,.ctr-home-image-footer{padding:10px 12px}.ctr-home-image-header h2{font-size:13px}}
