/* CyntrolX scene kit. The element shows its baked still at once; a live canvas fades in over it when allowed. */
.cx-scene{position:relative;overflow:hidden;background:var(--cx-scene-bg,#0a0812) center/cover no-repeat;isolation:isolate}
.cx-scene[data-fit="contain"]{background-size:contain}
.cx-scene>canvas{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:0;transition:opacity .9s ease;pointer-events:none}
.cx-scene.is-live>canvas{opacity:1}
/* engineered detail: hairline ticks along one edge. opt in with data-ticks */
.cx-scene[data-ticks]::after{content:"";position:absolute;left:0;right:0;bottom:0;height:7px;z-index:2;pointer-events:none;opacity:.5;
  background:repeating-linear-gradient(90deg,rgba(233,226,255,.55) 0 1px,transparent 1px 12px),repeating-linear-gradient(90deg,rgba(233,226,255,.9) 0 1px,transparent 1px 60px);
  background-size:auto 4px,auto 7px;background-repeat:repeat-x;background-position:0 100%,0 100%}
@media (prefers-reduced-motion:reduce){.cx-scene>canvas{display:none}}

/* daylight edition: the root carries data-theme="light"; the kit swaps to stills/light and seq/light where they exist */
:root[data-theme="light"]{--cx-scene-bg:#f3f0fb}
