/* The demo of the 3D wizard (/demo/carobnjak, wizard-demo.js): the drawn pointer and the key that the script presses. */
.wz-demo-pointer { position: fixed; left: 0; top: 0; z-index: 1000; width: 22px; height: 26px; pointer-events: none; will-change: transform; }
.wz-demo-pointer svg { display: block; filter: drop-shadow(0 1px 1.5px rgb(0 0 0 / 0.35)); }
.wz-demo-pointer i { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border: 2px solid var(--accent); border-radius: 50%; opacity: 0; transform: scale(0.4); transition: opacity 120ms, transform 120ms; }
.wz-demo-pointer.down i { opacity: 0.9; transform: scale(1); }
.wz-demo-pointer[hidden] { display: none; }
.wz-demo-key { position: fixed; left: 0; top: 0; z-index: 1000; padding: 7px 10px; background: var(--ink); color: var(--paper); font: 600 15px/1 var(--font); white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity 150ms; }
.wz-demo-key.on { opacity: 1; }
.wz-demo-key b { display: inline-block; min-width: 1.4em; margin-right: 6px; padding: 2px 5px; background: var(--paper); color: var(--ink); text-align: center; }

@media (prefers-reduced-motion: reduce) {
    .wz-demo-pointer i, .wz-demo-key { transition: none; }
}

/* Only the drawing (?prikaz=crtez): the square in the hero of the landing page. The bar, the panel and the controls
   stay in the page, hidden: the script uses them. */
.wz-demo-crtez :is(.wz-top, .wz-column, .wz-ov, .wz-tools, .wz-hint, .wz-toast, .wz-fig) { display: none !important; }
/* The drawing fills the frame at every size: no narrow layout of the wizard (wizard.css, max-width 1180px and less). */
.wz-demo-crtez .wz-tool { height: 100vh; height: 100dvh; }
.wz-demo-crtez .wz-tool .wz-workspace { display: flex; flex: 1; min-height: 0; gap: 0; padding: 0; }
.wz-demo-crtez .wz-tool .wz-figure { display: flex; flex: 1; min-height: 0; }
.wz-demo-crtez .wz-tool .wz-stage { flex: 1; width: auto; height: auto; min-height: 0; aspect-ratio: auto; border: 0; }
