/* Terminal Hero collapse lives in the same camera as its untouched card. */
.hero-defeat-presentation{position:absolute;inset:0;z-index:48;pointer-events:none;overflow:visible;isolation:isolate;contain:layout style}
.hero-defeat-veil{position:absolute;inset:-120px;opacity:0;background:radial-gradient(ellipse 120px 150px at calc(var(--hero-death-x) + 120px) calc(var(--hero-death-y) + 120px),transparent 12%,#08080788 58%,#070706 100%);will-change:opacity}
.hero-defeat-optics{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:4}
.hero-defeat-focus,.hero-defeat-fracture,.hero-defeat-pieces{position:absolute;pointer-events:none}
.hero-defeat-fracture{z-index:3;opacity:0;mix-blend-mode:screen;filter:drop-shadow(0 0 calc(var(--crack-light,1) * 2px) #e9bd72)}
.hero-defeat-fracture svg{display:block;width:100%;height:100%;overflow:hidden;clip-path:inset(4% 5% 7% round 5%)}
.hero-defeat-fracture polyline{fill:none;stroke:#fff2cb;stroke-width:.7;stroke-linejoin:bevel;stroke-linecap:round;vector-effect:non-scaling-stroke;stroke-dasharray:190;stroke-dashoffset:calc(var(--crack-reveal,1) * 190)}
.hero-defeat-focus,.hero-defeat-pieces{z-index:2}
.hero-defeat-focus>.game-card{width:100%;height:100%;margin:0;pointer-events:none!important;transform:none!important;opacity:1!important;visibility:visible!important}
.hero-defeat-piece{position:absolute;inset:0;pointer-events:none;will-change:transform,opacity;transform-origin:50% 50%}
.hero-defeat-piece>.game-card{width:100%;height:100%;margin:0;pointer-events:none!important;transform:none!important;opacity:1!important;visibility:visible!important}
.hero-defeat-presentation.is-reduced .hero-defeat-optics{display:none}
.hero-defeat-presentation.is-reduced .hero-defeat-fracture{filter:none}

.hero-defeated-0 [data-zone="hero"][data-player="0"]>.game-card,.hero-defeated-1 [data-zone="hero"][data-player="1"]>.game-card{visibility:hidden}
