dialog.poster-lightbox {
  box-sizing: border-box;
  width: min(1000px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  padding: 12px;
  border: 1px solid #ffffff30;
  border-radius: 12px;
  background: #09172b;
  color: #fff0bf;
  box-shadow: 0 20px 100px #0008;
  overflow: auto;
}
.poster-lightbox::backdrop { background: #020918e8; backdrop-filter: blur(5px); }
.poster-lightbox-toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-bottom: 10px; }
.poster-lightbox-toolbar button { flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid #fff0bf70; border-radius: 50%; background: transparent; color: #fff0bf; font: 30px/1 Arial, sans-serif; cursor: pointer; }
.poster-lightbox img { display: block; width: 100%; height: calc(100dvh - 116px); max-height: 1600px; object-fit: contain; }
.poster-lightbox :focus-visible { outline: 3px solid #f3c54e; outline-offset: 3px; }
body:has(.poster-lightbox[open]) { overflow: hidden; }
