/* The fart: the same letterboard slip as Louie Louie and the troll, with a pea-soup stripe down its left edge.
   Its letters rattle with the loudness of the fart (public/fart.js sets each one's transform). */
.fart { position: fixed; z-index: 6002; left: 50%; top: calc(10px + env(safe-area-inset-top)); width: min(calc(100% - 24px), 380px);
  display: flex; flex-direction: column; gap: 6px; padding: 13px 16px 12px 20px; border: 0; border-radius: 12px; text-align: left;
  box-shadow: 0 0 0 1px #f5f5f21f, 0 3px 0 #0000004d, inset 4px 0 0 #a8a83a; -webkit-tap-highlight-color: transparent;
  transform: translate(-50%, calc(-100% - 20px - env(safe-area-inset-top))); visibility: hidden;
  transition: transform .22s ease-in, visibility 0s .22s; }
.fart.in { transform: translate(-50%, 0); visibility: visible; transition: transform .32s cubic-bezier(.2, .9, .3, 1.2); }
.fart .bl-title { font-size: 25px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fart .bl-title b { display: inline-block; font-weight: inherit; will-change: transform; }
.fart .bl-title .sp { display: inline-block; width: .38em; }
.fart .bl-line { text-transform: none; letter-spacing: .04em; font-size: 16px; }
.fart.waiting { box-shadow: 0 0 0 1px #f5f5f21f, 0 3px 0 #0000004d, inset 4px 0 0 #a8a83a, 0 0 0 3px #7c8cff; }
.fart:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .fart, .fart.in { transition: none; }
}
