/* The site's one picture viewer (M603): over the dimmed page, opened only by a visitor's press. */
.vw { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; grid-template-columns: 72px minmax(0, 1fr) 72px; background: rgba(8, 14, 30, .92); color: #fff; }
.vw[hidden] { display: none; }
html.vw-open { overflow: hidden; }
.vw-top { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; font-size: 15px; }
.vw-at b { font-weight: 700; }
.vw-x, .vw-nav { width: 46px; height: 46px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.vw-x:hover, .vw-nav:hover { background: rgba(255, 255, 255, .24); }
.vw-x:focus-visible, .vw-nav:focus-visible, .vw-th:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.vw-nav { align-self: center; justify-self: center; }
.vw-nav[hidden] { visibility: hidden; }
.vw-fig { margin: 0; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; align-items: center; gap: 12px; padding: 0 0 12px; }
.vw-fig img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.vw-fig figcaption { max-width: 760px; text-align: center; font-size: 15.5px; line-height: 1.45; color: rgba(255, 255, 255, .9); }
.vw-thumbs { grid-column: 1 / -1; display: flex; justify-content: center; gap: 8px; padding: 6px 20px 20px; overflow-x: auto; scrollbar-width: none; }
.vw-thumbs[hidden] { display: none; }
.vw-th { flex: none; width: 60px; height: 40px; padding: 0; border: 0; border-radius: 6px; overflow: hidden; opacity: .5; background: rgba(255, 255, 255, .1); cursor: pointer; }
.vw-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vw-th.on { opacity: 1; box-shadow: 0 0 0 2px #fff; }
.vw-dots { display: none; grid-column: 1 / -1; justify-content: center; gap: 6px; padding: 0 0 18px; }
.vw-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.vw-dots i.on { width: 18px; border-radius: 3px; background: #fff; }
@media (max-width: 760px) {
    .vw { grid-template-columns: 0 minmax(0, 1fr) 0; }
    .vw-nav { display: none; }
    .vw-thumbs { display: none; }
    .vw-dots { display: flex; }
    .vw-dots[hidden] { display: none; }
}
