/* Live chat settings (app/views/app/livechat/show.view.php), from Prooflive's Growth > Live Chat */
.lc-h { margin: 0 0 14px; }
.lc-h h2 { margin: 0 auto 0 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-h .check { margin: 0; }
/* the button's look: a preview, the icons as tiles, the animation and an own colour */
.chat-look { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin: 4px 0 0; }
.chat-look select { width: auto; }
.chat-fab { flex: none; position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--fab, var(--ink)); color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.chat-fab svg { width: 24px; height: 24px; fill: currentColor; }
.chat-fab.ring::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--fab, var(--ink)); animation: chat-ring 3s ease-out infinite; }
.chat-fab.ring svg, .chat-fab.wiggle svg { animation: chat-nudge 4s ease-in-out infinite; }
.chat-fab.pulse { animation: chat-pulse 2.4s ease-in-out infinite; }
.chat-fab.bounce { animation: chat-hop 5s ease-in-out infinite; }
.chat-fab.glow { animation: chat-glow 2.4s ease-in-out infinite; }
@keyframes chat-ring { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
@keyframes chat-nudge { 0%, 84%, 100% { transform: none; } 87% { transform: rotate(-14deg) scale(1.08); } 90% { transform: rotate(11deg) scale(1.08); } 93% { transform: rotate(-7deg); } 96% { transform: rotate(3deg); } }
@keyframes chat-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.09); } }
@keyframes chat-hop { 0%, 78%, 100% { transform: none; } 84% { transform: translateY(-10px); } 90% { transform: none; } 94% { transform: translateY(-4px); } }
@keyframes chat-glow { 0%, 100% { box-shadow: 0 4px 14px rgba(0,0,0,.25); } 50% { box-shadow: 0 4px 14px rgba(0,0,0,.25), 0 0 0 10px rgba(29,31,32,.15); } }
.chat-icons { display: flex; flex-wrap: wrap; gap: 4px; }
.chat-icons label { position: relative; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--rule); cursor: pointer; color: var(--n700); margin: 0; }
.chat-icons input { position: absolute; opacity: 0; pointer-events: none; }
.chat-icons svg { width: 20px; height: 20px; fill: currentColor; }
.chat-icons label:has(input:checked) { border-color: var(--ink); color: var(--ink); background: var(--bg); }
.chat-icons label:has(input:focus-visible) { outline: 2px solid var(--p600); outline-offset: 1px; }
.chat-colour { margin: 0; white-space: nowrap; align-items: center; }
.chat-colour input[type=checkbox] { margin: 0; }
.chat-colour input[type=color] { width: 32px; height: 26px; padding: 0; border: 1px solid var(--rule); background: none; }
@media (prefers-reduced-motion: reduce) {
  .chat-fab, .chat-fab::after, .chat-fab svg { animation: none !important; }
}
/* the box's words in the order a visitor meets them, as a numbered line down the left */
.chat-flow { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.chat-flow li { counter-increment: step; position: relative; padding: 0 0 18px 40px; display: flex; flex-direction: column; gap: 6px; }
.chat-flow li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
  font: 600 12px ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--ink); color: var(--card); }
.chat-flow li::after { content: ""; position: absolute; left: 11px; top: 28px; bottom: 4px; width: 2px; background: var(--rule); }
.chat-flow li:last-child { padding-bottom: 0; }
.chat-flow li:last-child::after { display: none; }
.chat-flow label { font-weight: 600; font-size: 14px; margin: 0; }
.chat-flow label .sub { font-weight: 400; }
.chat-flow .chat-them { color: var(--n700); font-size: 14px; line-height: 24px; }
.chat-flow .chat-them::before { background: var(--bg); color: var(--ink); }
/* the script tag for the website */
.lc-tag { display: block; padding: 12px; background: var(--bg); border: 1px solid var(--rule); overflow-wrap: anywhere; user-select: all; }
