/* zoom.css -- owner D. The picture viewer (MainActivity.showZoom :6913): full window, argb(245, 4, 6, 20) behind the picture,
   the round buttons argb(220, 4, 10, 38) with a 1dp c_logo_frame stroke and a white glyph. Prefix .room- (CONTRACT §8.9). */

.room-zoom-root {
  position: fixed;
  inset: 0;
  /* D3 (B3, L r1 FOR THE ASSEMBLY 3): no z-index -- the viewer is a dialogs.layer child of #wk-overlays (one stacking context);
     the layer opened LAST is on top, so a call screen that opens over a zoomed picture is never covered (it was: z-index 1000) */
  background: rgba(4, 6, 20, .96);
  outline: none;
}
.room-zoom-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
}
.room-zoom-img {
  max-width: 100%;
  max-height: 100%;
  transform-origin: center center;
  user-select: none;
}
.room-zoom-bar { position: absolute; display: flex; flex-direction: row; direction: ltr; }
.room-zoom-btn {
  box-sizing: border-box;
  border-radius: 50%;
  border: 1px solid var(--c-logo-frame, #3d86ff);
  background: rgba(4, 10, 38, .863);
  color: #fff;
  padding: 10px;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.room-zoom-btn .post-glyph { width: 100%; height: 100%; }
.room-zoom-prev .post-glyph { transform: rotate(180deg); }
.room-zoom-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
