/* The catalogue's frame around a demo page: it says plainly that the business is fictional and leads back to
   the template request. It sits in the lower left corner, above the phone action bar, in neutral colours.
   On phones too it stays at the foot, on one short line: at the top it covered the hero's headline. */
.gg-demo {
  position: fixed; z-index: 30; left: 16px; bottom: calc(var(--bar, 0px) + 16px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; max-width: min(560px, calc(100vw - 32px));
  padding: 10px 16px; border-radius: 12px; background: #141414; color: #f4f4f2;
  font: 500 13px/1.35 system-ui, -apple-system, "Segoe UI", sans-serif; box-shadow: 0 8px 24px -10px #0008;
}
.gg-demo span { color: #c9c9c4; }
.gg-demo a { color: #fff; text-decoration: underline; text-underline-offset: 3px; min-height: 24px; display: inline-flex; align-items: center; }
.gg-demo a:hover { text-decoration-thickness: 2px; }
@media (max-width: 639px) {
  .gg-demo { left: 12px; right: auto; bottom: calc(max(var(--bar, 0px), env(safe-area-inset-bottom)) + 12px); padding: 2px 12px; font-size: 12px; gap: 0 12px; flex-wrap: nowrap; }
  .gg-demo span { display: none; }
  .gg-demo a { min-height: 32px; }
  .gg-demo::before { content: "Fictional demo"; color: #c9c9c4; }
}
/* while system.js keeps the phone action bar out of sight, the frame sits at the screen's foot and rises with the bar */
@media (max-width: 639px) and (scripting: enabled) {
  .gg-demo { transition: bottom 240ms ease; }
  :root:has(> body > nav.actionbar:not([data-bar="shown"], [data-bar="always"])) .gg-demo { bottom: calc(env(safe-area-inset-bottom) + 12px); }
}
@media (max-width: 639px) and (prefers-reduced-motion: reduce) { .gg-demo { transition: none; } }
@media print { .gg-demo { display: none; } }
