/* The renderer owns its layers; source images never sit over the wheel. */
.wheel-container{aspect-ratio:1;isolation:isolate}
.wheel-container .wheel-material,.wheel-container .wheel-light{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}
.wheel-container .wheel-light{filter:drop-shadow(0 0 2px #a2dfff45)}
.wheel-stage::before{display:none}
.wheel-glow{opacity:.065}

/* The reference scene owns real CAD geometry and luminous traces in one layer. */
.wheel-container .wheel-webgl{filter:none}

/* Fit the rim to the panel, reserving a clear row for the motion controls. */
.wheel-stage{--wheel-panel-height:clamp(560px,calc(100svh - 48px),850px);height:var(--wheel-panel-height);min-height:0;padding:0 12px 64px}
.wheel-container{width:min(100%,calc(var(--wheel-panel-height) - 88px));max-width:none}
@media(min-width:1600px){.wheel-stage{--wheel-panel-height:clamp(650px,calc(100svh - 48px),850px)}}
@media(max-width:740px){.wheel-stage{--wheel-panel-height:clamp(430px,min(calc(100vw + 64px),calc(100svh - 24px)),650px)}}
