/* Hide only the desktop foreground. The wallpaper canvas and body pseudo-elements
 * keep their current image, effect, and playlist beneath the transparent app. */
html[data-camera-roll-open] :is(#world, #hyd-cat, #hyd-cat-panel, .hyd-cat-bubble) {
  visibility: hidden !important;
}
html[data-camera-roll-open] { overflow: hidden; }
#camera-roll-dialog {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  color: #fff;
}
#camera-roll-dialog::backdrop { background: transparent; }
#camera-roll-dialog > iframe {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}
#camera-roll-dialog > .camera-roll-return { position: absolute; top: max(6px, env(safe-area-inset-top)); left: max(6px, env(safe-area-inset-left)); z-index: 2; }
/* Panther silver matches the site's desktop utility controls. The artwork stays
 * compact inside a larger transparent hit area. */
#camera-roll-dialog > .camera-roll-return { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #222; text-decoration: none; cursor: pointer; }
#camera-roll-dialog > .camera-roll-return::before { content: ''; box-sizing: border-box; width: 36px; height: 28px; border: 1px solid #929292; border-radius: 4px; background: linear-gradient(#f7f7f7, #d0d0d0); box-shadow: inset 0 1px #fff, 0 1px 1px #0003; }
#camera-roll-dialog > .camera-roll-return::after { content: ''; position: absolute; top: 50%; left: 50%; width: 18px; height: 14px; transform: translate(-50%, -50%); background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2016%22%3E%3Cpath%20d%3D%22M1%208%209%201v4h10v6H9v4z%22%20fill%3D%22%23333%22%20stroke%3D%22%23222%22%20stroke-width%3D%22.5%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; filter: drop-shadow(0 1px #fff); }
#camera-roll-dialog > .camera-roll-return:hover::before { border-color: #656565; background: #ebebeb; }
#camera-roll-dialog > .camera-roll-return:active::before { border-color: #666; background: linear-gradient(#b5b5b5, #dedede); box-shadow: inset 0 1px 2px #0004, 0 1px #fff6; }
#camera-roll-dialog > .camera-roll-return:focus-visible { outline: none; }
#camera-roll-dialog > .camera-roll-return:focus-visible::before { outline: 2px solid #7ab5f5; outline-offset: 1px; box-shadow: inset 0 1px #fff, 0 0 0 3px #c5e3ff88; }
#camera-roll-dialog > .camera-roll-return[hidden] { display: none !important; }
@media (pointer: coarse) {
  #camera-roll-dialog > .camera-roll-return { width: 44px; height: 44px; }
}
@media print { #camera-roll-dialog { display: none !important; } }
