/* The viewer frame: Mol* fills it, on a white background. */
html,
body {
  margin: 0;
  height: 100%;
  background: #ffffff;
  font-family: system-ui, sans-serif;
}
#app {
  position: absolute;
  inset: 0;
}
body.failed::after {
  content: 'The structure could not be loaded.';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #52606d;
}
/* Mol* keeps a small stack of buttons (illumination, AR/VR) that cannot be switched off by option:
   the picture should be clean, so hide them. */
.msp-viewport-controls,
.msp-viewport-controls-buttons,
.msp-highlight-info {
  display: none !important;
}

/* A picture for a thumbnail is taken of a square view. */
#app[data-snapshot] {
  inset: auto;
  top: 0;
  left: 0;
  width: 454px;
  height: 454px;
}
