:root { color-scheme: dark; }

*,
*::before,
*::after { box-sizing: border-box; }

html,
body {
  min-width: 0;
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100dvh;
  overflow-x: hidden;
  background: #080b10;
  color: #f4f7fb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.footer-preview-canvas {
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
  padding: 24px 0;
}

#footer-preview-host {
  width: 100%;
  min-width: 0;
  margin-block: auto;
}

#footer-preview-host:empty::before {
  display: block;
  width: min(100% - 32px, 520px);
  margin: auto;
  padding: 18px;
  border: 1px dashed #344255;
  border-radius: 12px;
  color: #91a0b4;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  content: "Add visible footer content to preview it here.";
}

@media (max-width: 420px) {
  .footer-preview-canvas { padding-block: 14px; }
}
