/* The camera transforms an image layer once each screen has decoded. */
.t-cam.has-snapshots { will-change: transform; }
.has-snapshots .crm {
  width: 100%;
  height: 100%;
  transform: none;
  background: none;
}
.has-snapshots .crm > .c-card { display: none; }
.crm-picture { width: 100%; height: 100%; }
.crm-highlight, .crm-sent {
  position: absolute;
  pointer-events: none;
  opacity: 0;
}
.crm-highlight {
  border: 1.5px solid #ef873c;
  border-radius: 7px;
}
.crm-highlight i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg,rgba(255,179,71,.16),rgba(255,140,60,.10));
  transform-origin: 0 50%;
  transform: scaleX(0);
}
.crm-sent {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #2f9e5b;
  color: #fff;
  border-radius: 5px;
  font: 650 clamp(8px, 1vw, 14px)/1 Inter, system-ui, sans-serif;
  white-space: nowrap;
}
.bridge { width: 800px; height: 400px; }
@media (max-width:760px) {
  .bridge { width: 400px; height: 200px; }
}
/* Card backgrounds only start fetching when the stack is close to the viewport. */
.nx:not(.art-near) .art-mail i, .nx:not(.art-near) .art-check b { background-image: none; }
.top.scrolled {
  background: rgb(244 239 231/.98);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.ticket {
  background: rgb(255 253 249/.98);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
/* Each visual stage can paint inside its own window during transforms. */
.t-win, .ai-card, .nx-card { contain: layout paint; }
/* Keep the same sound-wave shapes without recalculating heights as they move. */
.art-voice i {
  height: 92%;
  animation-name: voice-scale;
}
@keyframes voice-scale {
  0%, 100% { transform: scaleY(.152174); }
  50% { transform: scaleY(1); }
}
.nx:not(.art-visible) .nx-art i,
.nx:not(.art-visible) .nx-art i::before,
.hero:not(.copy-visible) .status i::after {
  animation-play-state: paused;
}
.t-stamp { transform-origin: left top; }
.t-moment::after {
  width: 100%;
  transform: scaleX(var(--mw, 0));
  transform-origin: left center;
}