/* One persistent 3D stage, one timeline, across desktop, phone and tablet. */
.real3d-ready .scene-art{display:none!important}
.real3d-ready .cinema,.real3d-ready .cinema #canvas-host{display:block}
.real3d-ready .story-tools{display:flex}
.real3d-ready .story-tools #model-spin{color:#6fffcf;min-width:92px}
.model-hint{position:absolute;left:63%;right:6%;bottom:15%;text-align:center;font-size:12px;letter-spacing:.35px;color:#aebdb6;pointer-events:none;margin:0}
.model-hint .mobile-hint{display:none}
#graphics-note{position:absolute;left:63%;right:6%;bottom:15%;font-size:13px;line-height:1.6;color:#c4d0c9;text-align:center}
#model-interaction{display:none}
.dragging-model,.dragging-model *{cursor:grabbing!important;user-select:none}

/* A text-owned matte protects incoming headings when bright metal moves behind
   them. It does not intercept touch, move the camera or alter desktop art direction. */
body.tme-story[data-story-layout]:not([data-story-layout="desktop"]) .story-scene :is(h1,h2){position:relative;isolation:isolate}
body.tme-story[data-story-layout]:not([data-story-layout="desktop"]) .story-scene :is(h1,h2)::before{content:"";position:absolute;inset:-7px -10px;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#030706f5 0%,#030706e8 75%,#03070600 100%);box-shadow:-8px 0 22px 8px #03070699;border-radius:4px}

@media(prefers-reduced-motion:reduce){
 .real3d-ready .story-tools #motion-toggle{display:none!important}
 .real3d-ready .story-tools .tools-separator{display:none}
}
@media print{
 .tme-story .cinema,.tme-story .story-tools,#model-interaction,.model-hint,#graphics-note{display:none!important}
 .tme-story[data-story-layout] .story-scene{padding:35px 0!important;min-height:0!important}
 body.tme-story[data-story-layout]:not([data-story-layout="desktop"]) .story-scene :is(h1,h2)::before{display:none}
}
