/* v217 (bloque F, tanda 2): the image viewer of Fable's samples (muestras.css), with the same values. Colours with the
   common base's values as fallback, because the pages not remade yet do not load site-theme.css. The image's size and
   crop are protected: some pages' rules (cards, framing) would otherwise reach it. Replaces public-lightbox.css. */
[data-visor],a[data-lightbox],img[data-expandable],.profile-gallery img,.mini-gallery img,.place-gallery img,.chronicle-gallery img{cursor:zoom-in}
[data-no-expand] img,img[data-no-expand]{cursor:auto}
/* v223 (D65): no touch gesture passes to the page while the viewer is open (a swipe closes it, site-visor.js); the
   background clears with the swipe (--fade). */
.visor{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;color:var(--parchment,#e7dcc2);overflow:hidden;touch-action:none}
.visor::backdrop{background:rgba(4,4,6,.9);opacity:var(--fade,1)}
html.anim .visor::backdrop{opacity:0;transition:opacity .28s ease}
html.anim .visor.on::backdrop{opacity:var(--fade,1)}
.visor-stage{position:absolute;inset:56px 12px 44px;display:grid;place-items:center;overflow:hidden}
.visor-stage.zoomable{touch-action:none;cursor:grab}
.visor-stage.zoomable.dragging{cursor:grabbing}
.visor img{display:block;max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important;object-position:center!important;aspect-ratio:auto!important;
  transform-origin:0 0;user-select:none;-webkit-user-drag:none;box-shadow:0 20px 80px #000;border:1px solid rgba(181,150,88,.35)}
.visor-bar{position:absolute;top:0;left:0;right:0;height:56px;display:flex;align-items:center;gap:10px;padding:0 12px;font:.84rem var(--sans,Arial,Helvetica,sans-serif)}
.visor-bar span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--dim,#b9ad94)}
.visor-bar button{min-width:40px;height:38px;padding:0 12px;border:1px solid var(--line,rgba(181,150,88,.38));background:#1a171b;color:var(--parchment,#e7dcc2);font:inherit;cursor:pointer}
.visor-bar button:hover{border-color:var(--gold,#b59658)}
.visor-bar button[hidden]{display:none}
.visor-hint{position:absolute;left:0;right:0;bottom:0;height:44px;margin:0;display:grid;place-items:center;color:var(--faint,#8c8376);font:.76rem var(--sans,Arial,Helvetica,sans-serif);text-align:center;padding:0 12px}
html.anim .visor-bar,html.anim .visor-hint{opacity:0;transition:opacity .28s ease}
html.anim .visor.on .visor-bar,html.anim .visor.on .visor-hint{opacity:1}
[aria-haspopup=dialog]:focus-visible{outline:3px solid #c5a467;outline-offset:4px}
