/* One square canvas and anchor transform for every surface. */
.hero-sprite.hero-outfit{position:relative;display:inline-block;background-image:none;isolation:isolate;overflow:visible;image-rendering:auto}
.hero-outfit .outfit-body{position:absolute;inset:0;background:url('art/hero-bodies.png') no-repeat;background-size:400% 200%;z-index:2;pointer-events:none}
.hero-outfit .outfit-piece{position:absolute;display:block;pointer-events:none;z-index:3;transform-origin:0 0}
.hero-outfit .outfit-piece .equipment-sprite{display:block;width:100%;height:100%;margin:0;aspect-ratio:auto;max-width:none;background-size:400% 300%;clip-path:inset(.5%);filter:none;image-rendering:auto}
.hero-outfit .outfit-cape-back{z-index:1}
.hero-outfit .outfit-cape-front{z-index:3}
.hero-outfit .outfit-weapon{z-index:4}
.hero-outfit .outfit-body.outfit-hand,.hero-outfit .outfit-body.outfit-wrist,.hero-outfit .outfit-body.outfit-face{z-index:5}
.hero-outfit .outfit-body.outfit-face{clip-path:inset(0 24% 65% 28%)}
.hero-outfit .outfit-tier-0{filter:saturate(.90)}
.hero-outfit .outfit-tier-1{filter:drop-shadow(0 0 1px #b69be070)}
.hero-outfit .outfit-tier-2{filter:drop-shadow(0 0 1.5px #efbf5d80)}
.hero-outfit .outfit-tier-3{filter:drop-shadow(0 0 2px #97d9e480)}
.scene .hero-outfit{position:absolute}
.battle-portrait .hero-sprite.hero-outfit{width:120px;max-width:100%;height:auto;aspect-ratio:1;flex-shrink:0}
.outfit-preview{border-radius:17px}.outfit-caption{text-align:center;margin:8px 0 16px}
.scene-badge,.scene .scene-edit,.scene button{z-index:3}
