/* =====================================================================
   TTF | Demo page WITHOUT the banner ('plain' => true in config/catalog.php).
   The header space is already kept by "main" in site.css, so the page only
   needs a small gap on top, and the demo gets the height the banner used:
   it fills the screen under the header and the back button.
   ===================================================================== */
.demo-plain { padding-top: 22px; }
.demo-plain .demo-frame iframe { height: max(480px, calc(100vh - var(--nav-h) - 106px)); height: max(480px, calc(100dvh - var(--nav-h) - 106px)); }
@media (max-width: 600px) {
  .demo-plain { padding-top: 14px; }
  .demo-plain .demo-frame iframe { height: max(420px, calc(100vh - var(--nav-h) - 88px)); height: max(420px, calc(100dvh - var(--nav-h) - 88px)); }
}
