/* Subtle card manifestation; every effect stays inside the fighter's stage box. */
.stage.awaiting-entrance .actor{visibility:hidden}
.actor.manifest-playing{opacity:1;filter:none}
.actor.manifest-playing:before{opacity:0}
.actor.manifest-playing>.portrait{position:relative;z-index:2;transform-origin:50% 100%;will-change:transform,opacity,filter}
.manifest-layer{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden;contain:layout style;--manifest-color:#8cddd5;--manifest-gold:#e8c996}
.manifest-card-anchor{position:absolute;left:50%;bottom:8%;height:38%;aspect-ratio:2/3;transform:translateX(-50%)}
.manifest-card{position:absolute;inset:0;border:1px solid var(--manifest-gold);border-radius:5% 5% 3% 3%;background:#10243a;box-shadow:0 2px 6px #07152b44,inset 0 0 0 2px #23364b;will-change:opacity}
.manifest-card:before{content:'';position:absolute;z-index:3;inset:4%;border:1px solid #edcc9280;clip-path:polygon(0 0,35% 0,35% 2%,2% 2%,2% 30%,0 30%,0 0,100% 0,100% 30%,98% 30%,98% 2%,65% 2%,65% 0,100% 0,100% 100%,65% 100%,65% 98%,98% 98%,98% 70%,100% 70%,100% 100%,0 100%,0 70%,2% 70%,2% 98%,35% 98%,35% 100%,0 100%);pointer-events:none}
.manifest-card-picture{position:absolute;inset:8% 6% 13%;overflow:hidden;background:linear-gradient(145deg,color-mix(in srgb,var(--manifest-color) 26%,#102239),#14243d 80%);border-bottom:1px solid #e3c39165}
.actor .manifest-card-picture>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:none;transform:none;mask-image:none}
.manifest-card-title{position:absolute;left:5%;right:5%;bottom:3.5%;height:8%;display:flex;align-items:center;justify-content:center;font:600 clamp(5px,.72cqw,9px)/1 'Segoe UI',sans-serif;letter-spacing:.03em;color:#fff1cc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.manifest-trace,.manifest-cracks{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:4}
.manifest-trace{opacity:0}
.manifest-trace>rect{fill:none;stroke:#fff1c9;stroke-width:1.2px;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 1px var(--manifest-color))}
.manifest-cracks>path{fill:none;stroke-linejoin:bevel;stroke-linecap:butt;stroke-dasharray:1;stroke-dashoffset:1;vector-effect:non-scaling-stroke}
.manifest-crack-shadow{stroke:#07111de0;stroke-width:2.4px}
.manifest-crack-edge{stroke:#e5d3bdc9;stroke-width:.7px}
.manifest-fragments,.manifest-fragment{position:absolute;inset:0;pointer-events:none}
.manifest-fragments{z-index:3}
.manifest-fragment{opacity:0;will-change:transform,opacity}
.manifest-card-fractured{box-shadow:none;filter:saturate(.35)}
.manifest-card-fractured>.manifest-trace{display:none}
.manifest-card-fractured>.manifest-cracks>path{stroke-dashoffset:0}
/* A defeated card has dispersed. Do not redraw an intact card after the shards. */
.actor.manifest-sealed{opacity:0;filter:none;visibility:hidden}
.actor.manifest-sealed:before{opacity:0}
