/* Chromeless demo embed (layouts/embed, EmbedsController): fills the iframe
   it's framed in with a transparent background so alpha clips float over the
   host page, the player scaled to the iframe's own width. */

html, body {
  margin: 0;
  padding: 0;
  background: transparent;
}

body.embed-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
}

.embed-body .demo,
.embed-body .alpha-clip {
  width: 100%;
}

.embed-body .demo-browser {
  margin: 0;
  width: 100%;
}

/* ?frame=controller: the 3D RC Plus fills the iframe it's framed in. */
.embed-body .controller-model--embed {
  width: 100%;
  max-width: 100%;
}
