html,
body,
.page {
  width: 100%;
  height: 100%;
  min-height: 0 !important;
  overflow: hidden;
}

html[data-cret-embedded]:not([data-artwork-ready]) .page {
  visibility: hidden;
}

body,
.page,
.page > .field {
  background: var(--canvas) !important;
}

/* The source artifacts include a review rail and a branded window header for
   standalone presentation. The site supplies those controls and context, so an
   embed keeps only the motion composition itself. */
.page > .rail,
.page > .legend,
.stage > .head {
  display: none !important;
}

.page > .field {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0 !important;
}

.stage {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
