/* Smile4U · „Näher" · live 3D specimens (20-live3d.js).
   Hosts ([data-live3d], framed): the canvas lies over the rendered picture and takes its place once the object has
   drawn; its ground is the band with the studio's pool of light.
   Slots (.bx-fly, block 03): the picture is a transparent cut-out, the canvas has a clear ground, and the object stands
   on the block's own blue. One soft contact shadow under each cut-out, as the live object draws its own. */
[data-live3d], .bx-fly { position: relative; }
[data-live3d] { isolation: isolate; }
.l3-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; cursor: grab; pointer-events: none;
  background: radial-gradient(62% 46% at 50% 64%, var(--band-light), var(--band) 78%), var(--band);
  border-radius: inherit;
  transition: opacity .4s var(--ease-ui);          /* purpose: the object takes the picture's place without a cut */
}
.l3-canvas.is-clear { background: none; border-radius: 0; }
.is-live3d > .l3-canvas { opacity: 1; pointer-events: auto; }
.is-held > .l3-canvas { cursor: grabbing; }

/* the cut-out's contact shadow: where each object meets the ground in its 4:5 picture */
.bx-fly::before {
  content: ""; position: absolute; left: 16%; right: 16%; top: var(--fly-ground, 78%); height: 8%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(18, 60, 90, .34), rgba(18, 60, 90, 0)); pointer-events: none;
  transition: opacity .4s var(--ease-ui);
}
.bx-fly[data-live3d-kind="implant"] { --fly-ground: 70%; }
.bx-fly[data-live3d-kind="shade"] { --fly-ground: 75%; }
.bx-fly[data-live3d-kind="cube"] { --fly-ground: 78%; }
.bx-fly[data-live3d-kind="molar"] { --fly-ground: 80%; }
.bx-fly.is-live3d::before { opacity: 0; }          /* the live object brings its own */
