* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

.poster-frame img {
  max-width: 100%;
  height: auto;
}

.mobile-demo-bar {
  display: none;
}

@media (max-width: 640px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  body {
    min-height: 100svh;
  }

  .container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  nav,
  .desktop-copy {
    display: none !important;
  }

  main {
    padding: 0 !important;
  }

  .mobile-fit-shell {
    max-width: 100% !important;
  }

  .poster-frame {
    margin-top: 0 !important;
    height: 100svh;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
  }

  .poster-image {
    width: 100%;
    height: 100svh;
    object-fit: contain;
    object-position: center top;
    transform: none;
  }

  .mobile-demo-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: max(0.9rem, env(safe-area-inset-bottom));
    z-index: 40;
    display: block;
    padding: 0 1rem;
  }

  #copyToast {
    bottom: calc(4.75rem + env(safe-area-inset-bottom)) !important;
  }
}
