/* Only loaded by the primary web and Telegram entry point. */
@media (prefers-reduced-motion: no-preference) {
  /* React Bits Animated Content: reveal the whole surface, not its letters. */
  .web-entry .web-card { animation: main-surface-enter .46s cubic-bezier(.2,.8,.2,1) both }
  @keyframes main-surface-enter {
    from {opacity:.12; translate:0 16px; scale:.984}
    to {opacity:1; translate:0 0; scale:1}
  }
  /* useLayouts Drawer Buttons: perspective fold on the opening surface. */
  html body dialog[open], html.has-experience body dialog[open], body .tg-media-viewer, body [role="dialog"]:not(dialog), body [role="listbox"]:not([hidden]), body [popover]:popover-open {
    animation: main-fold-in .36s cubic-bezier(.16,1,.3,1) backwards;
  }
  @keyframes main-fold-in {
    from { opacity:.15; translate: 12px 8px; rotate: y -7deg; scale: .976 }
    to { opacity:1; translate: 0 0; rotate: y 0deg; scale: 1 }
  }
  @media (hover:hover) and (pointer:fine) {
    .ref-hero .code {
      transform: perspective(1000px) rotateX(var(--invite-rx,0deg)) rotateY(var(--invite-ry,0deg));
      transition: transform .24s cubic-bezier(.2,.8,.25,1);
    }
  }
  .ref-hero #copy-code .main-copy-icon {transition:scale .25s,rotate .25s}
  .ref-hero #copy-code.did-copy .main-copy-icon {animation:main-copy-check .38s cubic-bezier(.2,.9,.3,1.3)}
  @keyframes main-copy-check {from {rotate:-45deg;scale:.5;opacity:0}to {rotate:0deg;scale:1;opacity:1}}
}
.main-copy-icon {display:inline-flex;align-items:center;justify-content:center;flex:none}
.main-copy-icon svg {width:17px;height:17px}
@media (prefers-reduced-motion:no-preference) {
  /* Animated Notification's arrival, anchored to the speaker's side. */
  .tg-bubble.main-message-arrival {
    transform-origin:bottom left;animation:main-message-settle .42s cubic-bezier(.22,1,.36,1) backwards;
  }
  .tg-bubble.outgoing.main-message-arrival {transform-origin:bottom right}
  @keyframes main-message-settle {
    from {opacity:0;translate:0 12px;scale:.94}
    to {opacity:1;translate:0 0;scale:1}
  }
}
.main-motion img.main-spectrum {
  display:inline-block;vertical-align:middle;width:24px;height:24px;margin:0 8px 0 0;
  object-fit:contain;animation:none;
}
