.scene-stage>.handoff-poster,.scene-stage>video[data-handoff-video]{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:fill;object-position:center;pointer-events:none;z-index:7;visibility:hidden}
.scene-stage>.handoff-poster{z-index:6}
html[data-handoff=poster] .handoff-poster,html[data-handoff=video] .handoff-poster,html[data-handoff=video] video[data-handoff-video],html[data-handoff=playing] video[data-handoff-video]{visibility:visible}
html[data-handoff=poster] .scene-stage>.scene-image,html[data-handoff] .scene-actions{visibility:hidden}
html[data-handoff] .scene-action,html[data-handoff] .scene-hit{pointer-events:none}
.handoff-scene .scene-hit-plaque{z-index:4}
.handoff-scene .scene-hit-label{z-index:3}
.handoff-scene .scene-hit-object{z-index:2}
.handoff-scene .scene-glow{pointer-events:none}
.handoff-scene .scene-fallback[hidden]{display:none}
.handoff-scene .scene-fallback{position:absolute;z-index:5;inset:auto 3% 3%;padding:12px;background:#201f1b;color:#fff4e4;border:1px solid #b49a70}
.handoff-scene .scene-fallback a{color:#ffe1ac;display:inline-block;margin:3px 10px}
.handoff-scene .scene-actions [data-unpublished]{pointer-events:none}
@media(prefers-reduced-motion:reduce){html[data-handoff] .scene-stage>.scene-image,html[data-handoff] .scene-actions{visibility:visible}html[data-handoff] .handoff-poster,html[data-handoff] video[data-handoff-video]{visibility:hidden}}
#map:has(>.handoff-map-poster){container-type:size}
html[data-map-paint] #map{opacity:0}
#map>.handoff-map-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;z-index:0}
/* Same 4096 × 2304 contain fit as fitWorld(), before its JS measures the box. */
#map>.r13-sign-layer .l3-sign{--world-unit:min(100cqw / 4096,100cqh / 2304);left:calc(50% + (var(--sign-x) - 2048)*var(--world-unit));top:calc(50% + (var(--sign-y) - 1152)*var(--world-unit));width:calc(var(--sign-width)*var(--world-unit))}
