/* One presentation surface for homepage features and CMS-selected native scenes. */
.feature-native-demo { position:relative; width:100%; aspect-ratio:16/9; overflow:hidden; border:0; border-radius:18px; background:#fff; box-shadow:0 24px 70px -32px #18345b30,0 2px 12px #18345b06; }
.feature-native-demo > div { height:100%; }
.cms-demo-preview { position:relative; z-index:1; background:#fff; pointer-events:none; overflow:hidden; }
.cms-demo-preview > img { display:block; width:100%; height:100%; object-fit:contain; }
.cms-demo-preview .route-ui { height:100%; overflow:hidden; }
/* Keep the iframe renderable during its RAF readiness handshake; the preview covers it. */
.cms-animation iframe { position:absolute; inset:0; display:block; visibility:visible; border:0; transform-origin:0 0; }
.cms-animation[data-animation-ready] > .cms-demo-preview { visibility:hidden; }
.cms-animation-placeholder { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; height:100%; padding:24px; text-align:center; }
.cms-animation-placeholder strong { font-size:clamp(16px,2vw,28px); font-weight:500; }
