.dice-roll-icon {
  display: inline-block;
  transform-origin: center;
}

/* Tile masks are scoped to the card, including its image, text and border. */
.study-card[data-dice-effect="mosaic"] {
  clip-path: var(--dice-card-mask);
}

.dice-mask-definition {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

.dice-mask-definition rect {
  transform-box: fill-box;
  transform-origin: center;
}
