/* The artboard's stage (kit/artboard.js): the design at its own size, scaled into the window.
   Theme hook: --artboard-backdrop (around the design when the window is another shape). */
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--artboard-backdrop, #e9e8e4); }
.artboard {
  position: absolute; left: 50%; top: 50%;
  transform-origin: 50% 50%;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 0 30px 80px -20px rgb(0 0 0 / 0.35), 0 8px 24px -8px rgb(0 0 0 / 0.2);
}
body.artboard-fills .artboard { box-shadow: none; }

/* The card's real artwork (kit/artboard.js placeArt): under everything else on the board; the
   code-drawn picture it replaces is marked [data-art-fallback] and steps aside. */
.artboard-art {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
html[data-art] [data-art-fallback] { display: none !important; }
