/* LYVRA_GALLERY_BRIDGE_V1: non-navigating thumbnail + overlay gallery */
.lyvra-visual-gallery{padding:clamp(32px,5vw,80px) 0}.lyvra-visual-gallery h2{margin:14px 0;color:#f0ebff}.gallery-lead{max-width:700px;color:#bad0e4}
.lyvra-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,2vw,22px);margin-top:24px;align-items:stretch}
.lyvra-gallery-card{min-width:0;padding:12px;background:#080e1b;border:1px solid #4ccfe577;border-radius:16px;color:#dfedfc;cursor:zoom-in;box-shadow:0 0 20px #9141d522;display:flex;align-items:center;flex-direction:column;justify-content:space-between;gap:8px;transition:border-color .2s ease,box-shadow .2s ease}
.lyvra-gallery-card:hover,.lyvra-gallery-card:focus-visible{border-color:#f29ce7;box-shadow:0 0 20px #eb52c755;outline-offset:3px}
.lyvra-gallery-card img{display:block;width:auto;max-width:100%;max-height:240px;height:auto;object-fit:contain}
.lyvra-gallery-logo-card img{max-width:120px;max-height:120px;margin:auto}
.lyvra-gallery-card span{font-size:.86rem;line-height:1.35;text-align:center}
.lyvra-gallery-lightbox[hidden]{display:none!important}.lyvra-gallery-lightbox{position:fixed;inset:0;z-index:20000;background:rgba(1,4,13,.93);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:18px}
.lyvra-gallery-dialog{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;width:min(97vw,1250px);max-height:96dvh;overflow:auto;padding:54px 14px 14px;border-radius:16px;border:1px solid #53ddef77;background:#090f20;box-shadow:0 0 36px #6d22b84b}
.lyvra-gallery-dialog img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(96dvh - 120px);object-fit:contain}
.lyvra-gallery-dialog p{margin:0;color:#cceafc}.lyvra-gallery-close{position:absolute;top:8px;right:9px;z-index:1;width:44px;height:44px;color:#fff;background:#12152d;border:1px solid #f48be4;border-radius:50%;cursor:pointer;font-size:24px}
@media(max-width:850px){.lyvra-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lyvra-gallery-card img{max-height:180px}.lyvra-gallery-logo-card img{max-width:100px;max-height:100px}}
@media(max-width:460px){.lyvra-gallery-card img{max-height:140px}.lyvra-gallery-logo-card img{max-width:88px;max-height:88px}}
@media(prefers-reduced-motion:reduce){.lyvra-gallery-card{transition:none}}

/* Responsive gallery keeps the logo as a deliberately small accent. */
.lyvra-gallery-logo-card img{max-width:110px;max-height:110px}
@media(max-width:460px){.lyvra-gallery-logo-card img{max-width:78px;max-height:78px}}
