.vasc-lightbox {
position: fixed;
inset: 0;
z-index: 1000;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
}
.vasc-lightbox[hidden] { display: none; }
.vasc-lightbox-backdrop {
position: absolute;
inset: 0;
background: rgba(8, 11, 20, 0.78);
}
.vasc-lightbox-panel {
position: relative;
z-index: 1;
box-sizing: border-box;
width: min(780px, calc(100vw - 32px));
max-width: min(780px, 92vw);
max-height: 90dvh;
overflow: auto;
background: var(--surface-strong);
border-radius: 18px;
padding: 22px 22px 18px;
box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
}
.vasc-lightbox-visual {
position: relative;
display: grid;
place-items: center;
width: 100%;
min-height: min(320px, 48dvh);
background: #0b1220;
border-radius: 8px;
overflow: hidden;
}
.vasc-lightbox-img {
max-width: 100%;
max-height: min(66dvh, calc(90dvh - 160px));
object-fit: contain;
border-radius: 8px;
}
.vasc-lightbox.is-loading .vasc-lightbox-img { visibility: hidden; }
.vasc-lightbox-status {
display: none;
position: absolute;
color: #fff;
font-size: 14px;
font-weight: 700;
line-height: 1.4;
}
.vasc-lightbox.is-loading .vasc-lightbox-status { display: block; }
.vasc-lightbox-desc {
margin: 0;
font-size: 14px;
line-height: 1.55;
color: var(--text);
text-align: center;
max-width: 62ch;
}
.vasc-lightbox-cite {
margin: 0;
font-size: 11px;
font-style: italic;
color: var(--muted);
text-align: center;
}
.vasc-lightbox-x {
position: absolute;
top: 10px;
right: 12px;
width: 32px;
height: 32px;
border-radius: 999px;
border: none;
background: rgba(15, 23, 42, 0.08);
color: var(--text);
font-size: 20px;
line-height: 1;
cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
.vasc-lightbox-x:hover { background: rgba(15, 23, 42, 0.16); }
}
