.sf-assembly-canvas {
  position: relative;
  aspect-ratio: 1568 / 1003;
  isolation: isolate;
  background: #111;
}
.sf-assembly-stage,
.sf-assembly-layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.sf-assembly-canvas img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sf-assembly-layer { pointer-events: none; mix-blend-mode: lighten; }
html.sf-assembly-pending .sf-assembly-layer { opacity: 0; }
.sf-assembly-main { clip-path: inset(17% 49.15% 53.5% 3%); }
.sf-assembly-banner { clip-path: inset(51% 49.15% 35% 3%); }
.sf-assembly-reaction { clip-path: inset(68% 49.15% 7% 3%); }
.sf-assembly-connector { clip-path: inset(29% 37.5% 17% 50.85%); }
.sf-assembly-result { clip-path: inset(8% 3% 6% 63.8%); }
.sf-assembly.is-playing .sf-assembly-main { animation: sf-assembly-enter 3400ms cubic-bezier(.2,.7,.2,1) both; }
.sf-assembly.is-playing .sf-assembly-banner { animation: sf-assembly-enter 3400ms cubic-bezier(.2,.7,.2,1) 408ms both; }
.sf-assembly.is-playing .sf-assembly-reaction { animation: sf-assembly-enter 3400ms cubic-bezier(.2,.7,.2,1) 816ms both; }
.sf-assembly.is-playing .sf-assembly-connector { animation: sf-assembly-enter 3400ms ease 1156ms both; }
.sf-assembly.is-playing .sf-assembly-result { animation: sf-assembly-result 3400ms cubic-bezier(.16,1,.3,1) both; }
@keyframes sf-assembly-enter {
  0% { opacity: 0; transform: translateY(14px); }
  22%, 100% { opacity: 1; transform: none; }
}
@keyframes sf-assembly-result {
  0%, 46% { opacity: 0; transform: translateX(20px); }
  78%, 100% { opacity: 1; transform: none; }
}
@media (min-width: 601px) and (max-height: 850px) {
  .sf-assembly { width: 100%; max-width: calc((100vh - 160px) * 1.5633); margin-inline: auto; }
}
@media (max-width: 600px) {
  .sf-assembly-canvas { aspect-ratio: 2 / 3; }
  .sf-assembly-main { clip-path: inset(6% 10% 79% 10%); }
  .sf-assembly-banner { clip-path: inset(21% 10% 71% 10%); }
  .sf-assembly-reaction { clip-path: polygon(10% 30%,90% 30%,90% 40.9%,39% 40.9%,39% 38%,10% 38%); }
  .sf-assembly-connector { clip-path: polygon(10% 40%,38.9% 40%,38.9% 40.9%,90% 40.9%,90% 47%,10% 47%); }
  .sf-assembly-result { clip-path: inset(47% 25% 2% 25%); }
}
@media (prefers-reduced-motion: reduce) {
  .sf-assembly-layer { animation: none !important; transform: none !important; opacity: 1 !important; }
}
