:root {
  color-scheme: dark;
  background: #100b18;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
}

#viewer {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #100b18;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  outline: none;
}

#viewer.is-keyboard:focus-visible {
  outline: 2px solid #ae82da;
  outline-offset: -2px;
}

#viewer.is-dragging {
  cursor: grabbing;
}

#artwork {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
}

#viewer.is-interactive #artwork {
  position: absolute;
  top: 0;
  left: 0;
  width: 6688px;
  height: 3764px;
  transform-origin: 0 0;
  will-change: transform;
}
