/* Places: layered planes inside #backdrop. Pieces are absolutely placed from their declared boxes. */
.place { position: absolute; inset: 0; z-index: 0; }
.plane { position: absolute; inset: 0; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.plane-far { opacity: var(--plane-dim, .6); }
.plane-light { mix-blend-mode: screen; pointer-events: none; }
.piece { position: absolute; overflow: hidden; white-space: pre-line; }
#foreground { position: absolute; inset: 0; z-index: 3; pointer-events: none; }

/* Contact shadows: the avatar stands on the place's floor line. */
.avatar::before { content: ''; position: absolute; left: 50%; bottom: -7px; z-index: -1; width: 88px; height: 14px; margin-left: -44px; border-radius: 50%; background: radial-gradient(closest-side, rgba(40, 30, 20, .38), transparent); }
.avatar[data-skin="textile"]::before { background: radial-gradient(closest-side, rgba(70, 50, 110, .35), transparent); outline: 2px dashed rgba(123, 79, 179, .35); outline-offset: -3px; }
.avatar[data-skin="zine"]::before { background: radial-gradient(circle, #111 1.2px, transparent 1.8px) 0 0 / 5px 5px; opacity: .55; }
.avatar[data-skin="game"]::before { bottom: -4px; height: 8px; border-radius: 0; background: rgba(0, 0, 0, .45); clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%); }

@media (prefers-reduced-motion: reduce) {
  .place, .place * { animation: none !important; transition: none !important; }
}

/* Slide props: one-slide cut-outs declared in scene data (Stage.renderScene). */
.prop { position: absolute; pointer-events: none; white-space: pre-line; }
@media (prefers-reduced-motion: reduce) { .prop, .prop::before { animation: none !important; } }
