/* Screenshot viewer only; existing landing styles remain untouched. */
#xres-lightbox:not([open]){display:none}
#xres-lightbox[open]{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:90vw;height:90vh;height:90dvh;max-width:none;max-height:none;padding:12px;border:1px solid #344865;border-radius:16px;background:#10213d;color:#fff;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:10px;overflow:hidden;box-shadow:0 20px 70px #0008;animation:xres-lightbox-in .16s ease-out;z-index:1000}
#xres-lightbox::backdrop{background:rgba(5,14,28,.82)}
#xres-lightbox .xl-head,#xres-lightbox .xl-nav{display:flex;align-items:center;gap:10px;min-width:0}
#xres-lightbox .xl-head{justify-content:space-between}
#xres-lightbox .xl-title{font-size:clamp(13px,2vw,17px);font-weight:700;line-height:1.5;margin:0;overflow-wrap:anywhere;color:#fff}
#xres-lightbox .xl-stage{display:grid;place-items:center;min-width:0;min-height:0;border-radius:9px;overflow:hidden;background:#081427}
#xres-lightbox .xl-stage img{display:block;width:100%;height:100%;min-height:0;min-width:0;object-fit:contain;object-position:center;margin:0}
#xres-lightbox button{font:inherit;color:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;min-width:44px;border:1px solid #657896;border-radius:8px;padding:5px 12px;background:#243c5b;flex:none;line-height:1.2}
#xres-lightbox button:hover{background:#365579}
#xres-lightbox button:focus-visible{outline:2px solid #ffc43a;outline-offset:2px}
#xres-lightbox .xl-close{background:#b32236;border-color:#db6373;font-weight:700}
#xres-lightbox .xl-close:hover{background:#94192a}
#xres-lightbox .xl-nav{justify-content:center}
#xres-lightbox .xl-count{min-width:56px;text-align:center;font-variant-numeric:tabular-nums;color:#e7eef9;font-size:14px}
html.xres-lightbox-open{overflow:hidden}
@keyframes xres-lightbox-in{from{opacity:0;transform:scale(.985)}to{opacity:1;transform:scale(1)}}
@media(max-width:600px){#xres-lightbox[open]{padding:8px;gap:8px;border-radius:12px}#xres-lightbox button{padding:5px 9px}}
@media(prefers-reduced-motion:reduce){#xres-lightbox[open]{animation:none}}
