:root{color-scheme:dark;background:#000}*{box-sizing:border-box}html,body{margin:0;width:100%;min-height:100%;background:#000}body{height:100svh;display:grid;place-items:center;overflow:hidden}.selection-stage{position:relative;width:min(100vw,calc(100svh * 16 / 9));aspect-ratio:16/9;overflow:hidden;isolation:isolate;transition:opacity .18s ease}.psd-layer,.hero-video{position:absolute;display:block;pointer-events:none;user-select:none}.hero-video{opacity:0;object-fit:contain}.hero-video{transform:scaleX(-1)}.hero.is-playing .hero-video{opacity:1}.hero.is-playing .hero-still{visibility:hidden}.fighter-choice{position:absolute;border:0;padding:0;background:none;cursor:pointer;-webkit-tap-highlight-color:transparent}.fighter-choice img{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;user-select:none}.card-over{opacity:0}.fighter-choice:is(.is-preview,.chosen) .card-over{opacity:1}.fighter-choice:focus{outline:0}.leaving .selection-stage{opacity:1}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(prefers-reduced-motion:reduce){.selection-stage{transition:none}}



.fighter-name{position:absolute;display:block;color:#f5f0e2;font-family:Impact,"Arial Black",sans-serif;font-weight:400;font-size:clamp(16px,2.5vw,48px);font-size:2.5cqw;line-height:1;text-align:center;pointer-events:none;letter-spacing:.025em}.selection-stage{container-type:inline-size;overflow:clip}.player-one-name{left:3.9%;top:22.7%;width:15%;transform:rotate(-4deg)}.player-two-name{left:80.7%;top:23.5%;width:15%;transform:rotate(2deg)}

/* Player 1 owns both previews; the opponent keeps the PSD resting pose. */
.hero{position:absolute;inset:0;pointer-events:none}.hero[hidden]{display:none}.hero[data-hero="zombie"]{transform:translateX(-3%) scaleX(-1)}

/* Temporary facing test: mirror only the left Zombie within its own image bounds. */
.hero[data-hero="zombie"] .hero-still{transform:scaleX(-1)}
.hero[data-hero="zombie"] .hero-video{transform:none}


.hero-finger-repair{position:absolute;display:none;overflow:visible;pointer-events:none}.hero.is-ended .hero-finger-repair{display:block}

.hero[data-hero="caesar"]{transform:translateX(-5%)}

.opponent-hero{transform:translateX(5.5%)}

/* Replace only the outermost matte fringe with ink, including fixed opponent. */
.hero{filter:url(#fighter-cutout-edge)}
.opponent-hero .opponent-caesar{display:none;right:-0.572917%;top:8.703704%;width:43.645833%;height:99.629630%;transform:scaleX(-1)}
[data-cpu-fighter="caesar"] .opponent-hero .opponent-caesar{display:block}
[data-cpu-fighter="caesar"] .opponent-hero .opponent-zombie{display:none}

.cpu-caesar-video{right:-3.125%;top:8.703704%;width:56.041667%;height:99.629630%;transform:none}
