/* zone d'affichage : la scène (1000x800) est calée à droite et mise à l'échelle par JS */
  .loc-animation { position:relative; width:100%; height:clamp(350px, 58vw, 720px); overflow:visible; }
  .loc-animation .stage {
    position:absolute; right:calc(180px * var(--s, 1)); top:50%;
    width:1000px; height:800px;
    transform-origin:right center;
    transform:translateY(-50%) scale(var(--s,1));
    cursor:none;
  }
  .loc-animation .stage * { pointer-events:none; user-select:none; -webkit-user-drag:none; }

  /* cartes + pastilles : fondu vers le bas comme sur la maquette */
  .loc-animation .cards, .loc-animation .top { position:absolute; inset:0; }
  .loc-animation .cards {
    right:-180px;
    -webkit-mask-image:linear-gradient(to bottom,#000 0,#000 54%,rgba(0,0,0,.72) 74%,transparent 97%);
            mask-image:linear-gradient(to bottom,#000 0,#000 54%,rgba(0,0,0,.72) 74%,transparent 97%);
  }
  .loc-animation .pos { position:absolute; left:0; top:0; }
  .loc-animation .pos, .loc-animation .pos > div { will-change:transform; }
  .loc-animation .pos img { display:block; width:100%; height:auto; }
  .loc-animation .ptr { position:absolute; left:0; top:0; width:0; height:0; }
  .loc-animation .ptr img { position:absolute; left:-71px; top:-5px; width:203px; height:auto; max-width:none; }


@media (hover: none), (prefers-reduced-motion: reduce) { .loc-animation .stage { cursor: auto; } }
