/* Staged scenes: characters stand ON the floor painted in the arena art (square renders, floor in the lower part).
 * --floor  floor band height as a fraction of the art: fire .36, throne .45, temple .38, colosseum .43, castle .40, bone .32, widow .30.
 * --depth  how far into the floor the feet stand: 0 front edge, 1 back wall (default .3).
 * --pb/--pl/--pr on the sprite: empty rows under the feet and columns at the sides. --stage-h: tallest actor, so copy clears it. */

.scene.staged {
  --depth: 0.3;
  --feet: calc(var(--floor, 0.36) * var(--depth) * 100vw);
  background:
    linear-gradient(180deg, var(--night) 0, var(--night) calc(100% - 100vw), rgba(13, 15, 23, 0) calc(100% - 72vw)),
    var(--art) center bottom / 100% auto no-repeat,
    var(--night);
}
/* Lighter at the floor than the stock scrim, so the ground the actors stand on reads as ground. */
.scene.staged::before {
  background: linear-gradient(180deg, rgba(13, 15, 23, 0.82) 0%, rgba(13, 15, 23, 0.74) 50%, rgba(13, 15, 23, 0.28) 82%, rgba(13, 15, 23, 0.4) 100%);
}
.scene.scene-left.staged::before {
  background:
    linear-gradient(180deg, rgba(13, 15, 23, 0) 60%, rgba(13, 15, 23, 0.35) 100%),
    linear-gradient(90deg, rgba(13, 15, 23, 0.92) 0%, rgba(13, 15, 23, 0.66) 50%, rgba(13, 15, 23, 0.18) 100%);
}

[data-needs-js][hidden] { display: none !important; }
