/* ILUZIE Lightbox 1.0.0 — GPL-2.0-or-later */
.ilb-dialog { position:fixed; inset:0; width:100%; height:100%; max-width:none; max-height:none; margin:0; padding:64px 65px; border:0; background:rgba(0,0,0,.92); color:#fff; box-sizing:border-box; overflow:auto; font-family:Arial,sans-serif; }
.ilb-dialog::backdrop { background:transparent; }
.ilb-dialog[open] { display:flex; align-items:center; justify-content:center; }
.ilb-dialog *, .ilb-dialog *::before, .ilb-dialog *::after { box-sizing:border-box; }
.ilb-content { max-width:100%; max-height:100%; text-align:center; }
.ilb-dialog .ilb-image { display:block; max-width:100%; max-height:calc(100dvh - 180px); width:auto; height:auto; margin:0 auto; object-fit:contain; }
.ilb-dialog .ilb-caption { max-height:4.5em; overflow:auto; color:#fff; text-align:left; font-size:16px; line-height:1.5; margin:12px 0 0; white-space:pre-wrap; overflow-wrap:anywhere; }
.ilb-dialog .ilb-status { color:#fff; font-size:16px; line-height:1.5; }
.ilb-status:empty { display:none; }
.ilb-dialog button { position:fixed; display:flex; align-items:center; justify-content:center; width:48px; height:48px; padding:0; margin:0; border:0; border-radius:4px; background:transparent; color:#fff; font:40px/1 Arial,sans-serif; cursor:pointer; box-shadow:none; text-transform:none; }
.ilb-dialog button:hover { background:rgba(255,255,255,.15); }
.ilb-dialog button:focus-visible { outline:2px solid #fff; outline-offset:3px; }
.ilb-dialog .ilb-close { top:14px; right:14px; }
.ilb-dialog .ilb-previous { top:calc(50% - 24px); left:8px; }
.ilb-dialog .ilb-next { top:calc(50% - 24px); right:8px; }
.ilb-counter { position:fixed; top:28px; left:24px; color:#fff; font-size:14px; }
.ilb-dialog [hidden] { display:none !important; }
@media(max-width:600px) { .ilb-dialog { padding:70px 12px; } .ilb-dialog .ilb-previous, .ilb-dialog .ilb-next { top:auto; bottom:12px; background:rgba(0,0,0,.6); } .ilb-dialog .ilb-caption { font-size:14px; } }
