 /* Very basic styling */
 .modal-bg {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.5);
  display: none; /* Hidden by default */
  align-items: center;
  justify-content: center;
  /* Above tutorial overlay (#tutorial-overlay = z-index 9998) so the
     resume / cancel modal is reachable when shown during a tutorial. */
  z-index: 10010;
}
.modal {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
}
.modal h3 { margin-top: 0; }
.modal button { margin-top: 10px; }