/* Match the round Expand control only while Hide Images is in the viewer. */
:is(#screen > .object-screen .image-command-line,#codexExpandedViewer .image-command-line) > .codex-viewer-toggle.codex-toggle-in-gallery {
  position:relative !important; inset:auto !important; transform:none !important;
  display:inline-grid !important; place-items:center; flex:none;
  box-sizing:border-box; width:30px; height:30px; min-width:30px; min-height:30px;
  padding:0 !important; margin:0; line-height:1;
  border:1px solid color-mix(in srgb,currentColor 52%,transparent);
  border-radius:50%; color:inherit; background:transparent; box-shadow:none;
}
:is(#screen > .object-screen .image-command-line,#codexExpandedViewer .image-command-line) > .codex-toggle-in-gallery > .codex-toggle-arrow {
  font:600 16px/1 Interface,sans-serif;
}
:is(#screen > .object-screen .image-command-line,#codexExpandedViewer .image-command-line) > .codex-toggle-in-gallery > .codex-toggle-label {
  position:absolute; left:0; bottom:calc(100% + 5px); z-index:20;
  padding:3px 5px; color:#fff5dc; background:#10161bf5; border:1px solid #af9365; border-radius:3px;
  font:500 11px/1.4 Interface,sans-serif; letter-spacing:0; text-transform:none; writing-mode:horizontal-tb;
  white-space:nowrap; visibility:hidden; pointer-events:none;
}
:is(#screen > .object-screen .image-command-line,#codexExpandedViewer .image-command-line) > .codex-toggle-in-gallery:is(:hover,:focus-visible) > .codex-toggle-label {
  visibility:visible;
}
:is(#screen > .object-screen .image-command-line,#codexExpandedViewer .image-command-line) > .codex-toggle-in-gallery:focus-visible {
  outline:2px solid #e5bd73; outline-offset:2px;
}
