/* The embed host page (D-74, BIS-302). A video fills the view the app gives
   it; a post takes its natural height, which the page reports, and sizes its
   own frames. */
html,
body {
  margin: 0;
  padding: 0;
}

body.video {
  background: #000;
  overflow: hidden;
}

body.video #frame {
  position: fixed;
  inset: 0;
}

body.video #frame > iframe,
body.video #frame > div {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

body.post {
  background: transparent;
  overflow: hidden;
}

body.post #frame {
  display: flex;
  flex-direction: column;
  align-items: center;
}
