.videojs-drm-replay-overlay {
  position: absolute;
  inset: 0;
  z-index: 9;
  display: none;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  color: #fff;
  pointer-events: auto;
}

.videojs-drm-replay-overlay .vjs-icon-replay {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.8em;
  height: 1.8em;
  font-size: 3em;
  line-height: 1;
  border: 0.06666em solid #fff;
  border-radius: 50%;
  background-color: rgba(43, 51, 63, 0.7);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.videojs-drm-replay-overlay .vjs-icon-replay:before {
  /* Optical centering: the Video.js replay glyph sits slightly left. */
  margin-left: 0.05em;
}

.videojs-drm-replay-overlay:hover .vjs-icon-replay,
.videojs-drm-replay-overlay:focus .vjs-icon-replay {
  background-color: rgba(115, 133, 159, 0.55);
  transform: scale(1.04);
}

.videojs-drm-replay-overlay:focus {
  outline: none;
}

.videojs-drm-replay-overlay:focus-visible .vjs-icon-replay {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.55);
}

.video-js.vjs-has-error-overlay .videojs-drm-replay-overlay {
  display: none !important;
}
