/* ---------- 90% render scale compensation ---------- */
/* Viewport units keep the physical viewport size under the root zoom, so blocks that fill the
   screen are measured against the zoomed viewport instead. Full-bleed bodies use 100% (the
   zoomed root is already the visible width) so a scrollbar cannot push them into a side scroll. */

body.profile-body-2,
body.profile-body-3,
body.profile-body-4,
body.profile-body-5,
body.profile-body-6 {
  width: 100%;
  height: calc(100vh / .9);
}

body.profile-body-7 {
  min-height: calc(100svh / .9);
}

body.profile-body-5.layout5-profile-body {
  width: 100%;
  height: auto;
  min-height: calc(100svh / .9);
}

body.profile-body-5.layout5-profile-body .bio-container {
  width: min(1120px, calc(100vw / .9 - 64px));
  min-height: calc(100svh / .9);
}

.stage,
body.profile-body-7 .stage,
body.profile-body-7 .bio-container.terminal_shell {
  min-height: calc(100svh / .9);
}

body.profile-body-7 .profile-scene {
  width: min(480px, calc(100vw / .9 - 40px));
}

.profile-body-4 .bio-container .bio_content_container .screen_1 .main_content,
.profile-body-4 .bio-container .bio_content_container .screen_2 .main_content,
.profile-body-4 .bio-container .bio_content_container .screen_3 .main_content {
  min-height: calc(100svh / .9);
  max-width: calc(98vw / .9);
}

.enter_screen_content {
  max-width: min(calc(90vw / .9), 660px);
}

@media (max-width: 768px) {
  body.profile-body-5.layout5-profile-body .bio-container {
    width: min(calc(94vw / .9), 680px);
  }

  .profile-body-5 .bio-container {
    width: calc(95vw / .9);
  }
}

@media (max-width: 767px) {
  .bio-container,
  .profile-body-2 .bio-container,
  .profile-body-3 .bio-container,
  .profile-body-4 .bio-container,
  .profile-body-6 .bio-container {
    width: calc(95vw / .9);
  }
}
