/* V7.3: exclusive 3D display; fallback is the existing original canvas. */
#evoStage,.pixel-arena,.w61-preview{position:relative;isolation:isolate}
.hero3d-canvas{position:absolute!important;display:block!important;pointer-events:none!important;opacity:0;z-index:6!important;image-rendering:auto!important;filter:none!important;backdrop-filter:none!important;transition:opacity .15s ease}
.hero3d-canvas.hero3d-ready{opacity:1}
canvas.hero3d-replaced{visibility:hidden!important}
#evoStage>.hero3d-canvas{width:min(70%,230px)!important;height:174px!important;left:50%;top:40px;transform:translateX(-50%)}
.w61-preview>.hero3d-canvas{width:145px!important;height:145px!important;left:50%;top:3px;transform:translateX(-50%)}
.pixel-arena>.hero3d-canvas[data-target="pixelMine"]{width:39%!important;height:91%!important;left:5%;top:3%;bottom:auto!important;transform:none!important}
.pixel-arena>.hero3d-canvas[data-target="pixelEnemy"]{width:39%!important;height:91%!important;right:5%;top:3%;bottom:auto!important;transform:none!important}
html,body{max-width:100%;overflow-x:hidden!important}
#app{max-width:100vw!important;min-width:0!important}
#evoStage{width:100%;min-width:0;overflow:hidden!important;min-height:280px!important}
#evoStage .evo-top{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:clamp(9px,2.5vw,12px);letter-spacing:.04em}
#evoStage #evoCanvas{height:174px!important;width:174px!important;max-width:70%;object-fit:contain;margin:8px auto 0}
#evoStage .evo-caption{position:relative;z-index:8;margin-top:7px}
#evoStage .evo-help{position:relative;z-index:8;overflow-wrap:anywhere}
#lobby,.evo-stage,.panel,.toolbar{min-width:0;max-width:100%}
@media(max-width:390px){#evoStage>.hero3d-canvas{height:166px!important;top:43px}#evoStage #evoCanvas{height:166px!important;width:166px!important}.hero{font-size:clamp(36px,11vw,52px)!important}.tag{font-size:10px!important}}
@media(prefers-reduced-motion:reduce){.hero3d-canvas{transition:none}}
