/* GALLERY VIEWING OUTLINE (Simon, 15 Nov 2026): the tile whose item is in the
   viewer wears a white ring -- 2px #fff with a 1px dark edge inside it, so it
   reads on a bright thumbnail as well as a dark one. A child span drawn with
   inset shadows rather than the tile's own outline or ::after, both of which
   the multi-select (.gal-msel) and the A/B pair (.ab-picked) already use for
   their brand ring and check mark (30-gallery-states.css, 18-ab-compare.css).
   js/panel/47z-viewer-drag.js puts it on and takes it off. */
.gal-item > .gal-viewring { display: none; }
.gal-item.gal-viewing > .gal-viewring {
  display: block; position: absolute; left: 0; top: 0; right: 0; bottom: 0;
  pointer-events: none; z-index: 6;
  box-shadow: inset 0 0 0 2px #ffffff, inset 0 0 0 3px rgba(0, 0, 0, .85);
}
/* Viewed AND selected: both show -- the brand ring steps just inside the white one. */
.gal-item.gal-viewing.gal-msel { outline-offset: -5px; }
#gallery .gal-item.gal-viewing.ab-picked,
#gallery-b .gal-item.gal-viewing.ab-picked { outline-offset: -5px; }

/* VIEWER DRAG (same file): the viewer's picture is a drag source while
   47z-viewer-drag.js holds a press on it; a stylesheet elsewhere that turns
   element drags off must not turn this one off. */
#nle-nodeview .nle-nv-media[draggable="true"] { -webkit-user-drag: element; }
