/*
 * support-chat.css — Chat de suporte ao vivo (camada de layout).
 *
 * Duas apresentações do MESMO markup:
 *   desktop (>768px) — painel ancorado no canto inferior direito, não bloqueia
 *                      a página; dá para continuar lendo a central de ajuda;
 *   mobile  (≤768px) — tela cheia (Tipo 2 do MOBILE-MODAL-PATTERNS.md), com
 *                      seta de voltar, trava de scroll e altura do teclado.
 *
 * CORES: sempre var(--c-*) — vêm do .env por partials/theme.blade.php. Hex cru
 * aqui não acompanha a troca de tema (o theme-overrides.css só reescreve
 * classes Tailwind).
 *
 * O motor de bottom sheet (public/js/sheet.js) NÃO se aplica: um chat é
 * experiência completa, não folha de ação rápida.
 */

:root {
    --supchat-w:         400px;
    --supchat-h:         664px;
    --supchat-radius:    18px;
    --supchat-z:         100000;

    --supchat-bg:        var(--c-surface, #292d2e);
    --supchat-thread:    var(--c-background, #232626);
    --supchat-raised:    var(--c-surface-2, #323738);

    --supchat-hairline:  rgba(255, 255, 255, .07);
    --supchat-text:      #ffffff;
    --supchat-dim:       #98a1a2;
    --supchat-online:    #22c55e;

    --supchat-ease:      cubic-bezier(.32, .72, 0, 1);
}

/* ============================ raiz e painel ============================ */

.supchat {
    position: fixed;
    z-index: var(--supchat-z);
    right: 24px;
    bottom: 24px;
    width: var(--supchat-w);
    max-width: calc(100vw - 32px);
    height: min(var(--supchat-h), calc(100dvh - 112px));
    display: block;
}

/* Regra de autor vence o [hidden] do user-agent — precisa ser explícita. */
.supchat[hidden],
.supchat-launcher[hidden] { display: none; }

.supchat-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--supchat-bg);
    /* Sem aro externo: a sombra já separa o painel da página. */
    border-radius: var(--supchat-radius);
    box-shadow: 0 24px 64px rgba(0, 0, 0, .55), 0 2px 8px rgba(0, 0, 0, .4);
    color: var(--supchat-text);

    opacity: 0;
    transform: translateY(14px) scale(.985);
    transform-origin: 100% 100%;
    transition: opacity .22s ease, transform .28s var(--supchat-ease);
    will-change: opacity, transform;
}

.supchat.is-open .supchat-panel {
    opacity: 1;
    transform: none;
}

/* ============================== cabeçalho ============================== */

.supchat-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px 14px 16px;
    border-bottom: 1px solid var(--supchat-hairline);
    background: var(--supchat-bg);
    flex-shrink: 0;
}

.supchat-back {
    display: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-left: -6px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--supchat-text);
    cursor: pointer;
    flex-shrink: 0;
}

.supchat-back:active { background: rgba(255, 255, 255, .07); }

.supchat-identity {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    flex: 1;
}

.supchat-avatar {
    position: relative;
    display: block;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.supchat-avatar-art {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* --c-primary-rgb vem do tema no formato moderno ("250 203 102"), então é
       rgb(... / alfa) — a vírgula do rgba() antigo invalida a regra inteira. */
    background:
        linear-gradient(145deg,
            rgb(var(--c-primary-rgb, 250 203 102) / .24),
            rgb(var(--c-primary-rgb, 250 203 102) / .08));
    color: var(--c-primary, #facb66);
}

.supchat-avatar-art svg { width: 55%; height: 55%; }

/* Avatar com foto (a marca do suporte, ou o retrato do atendente): a imagem
   preenche o círculo, então o fundo dourado e o aro saem de cena. */
.supchat-avatar-art.has-foto {
    background: none;
    border-color: transparent;
}

.supchat-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.supchat-avatar-dot {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--supchat-online);
    border: 2px solid var(--supchat-bg);
}

.supchat-avatar-dot::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 1px solid var(--supchat-online);
    opacity: .6;
    animation: supchat-pulse 2.4s ease-out infinite;
}

@keyframes supchat-pulse {
    0%   { transform: scale(.7); opacity: .7; }
    70%  { transform: scale(1.9); opacity: 0; }
    100% { transform: scale(1.9); opacity: 0; }
}

.supchat-titles { min-width: 0; }

.supchat-title {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.supchat-status {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
    font-size: 11.5px;
    color: var(--supchat-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.supchat-status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--supchat-online);
    flex-shrink: 0;
}

.supchat-actions {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.supchat-iconbtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--supchat-dim);
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.supchat-iconbtn:hover {
    background: rgba(255, 255, 255, .06);
    color: var(--supchat-text);
}

.supchat-iconbtn svg { width: 17px; height: 17px; }

/* ====================== faixa de estado da ligação ===================== */

.supchat-conn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 12px;
    font-size: 11.5px;
    font-weight: 600;
    color: #f0c674;
    background: rgba(240, 198, 116, .1);
    border-bottom: 1px solid var(--supchat-hairline);
    flex-shrink: 0;
}

.supchat-conn[hidden] { display: none; }

.supchat-conn span {
    width: 12px;
    height: 12px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: supchat-spin .7s linear infinite;
}

@keyframes supchat-spin { to { transform: rotate(360deg); } }

/* ============================== conversa =============================== */

.supchat-thread {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 16px 14px 8px;
    background: var(--supchat-thread);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .14) transparent;
}

.supchat-thread::-webkit-scrollbar { width: 6px; }
.supchat-thread::-webkit-scrollbar-track { background: transparent; }
.supchat-thread::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .12);
    border-radius: 99px;
}
.supchat-thread::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .2); }

/* ---------------------------- tela de entrada -------------------------- */

.supchat-welcome { padding: 8px 2px 4px; }

.supchat-welcome[hidden] { display: none; }

.supchat-welcome-top {
    text-align: center;
    padding: 12px 8px 20px;
}

.supchat-welcome-av {
    width: 60px;
    height: 60px;
    margin: 0 auto 14px;
    position: relative;
}

.supchat-welcome-av .supchat-avatar-art { border-width: 1.5px; }

.supchat-welcome-av .supchat-avatar-dot {
    width: 14px;
    height: 14px;
    border-color: var(--supchat-thread);
}

.supchat-welcome-title {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.2px;
}

.supchat-welcome-desc {
    margin-top: 6px;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--supchat-dim);
}

.supchat-topics-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--supchat-dim);
    padding: 0 4px 9px;
}

.supchat-topics {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.supchat-topic {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    padding: 13px;
    border: 0;
    border-radius: 12px;
    background: var(--supchat-raised);
    color: var(--supchat-text);
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease;
}

/* Sem aro no hover: o realce é o próprio fundo clareando. */
.supchat-topic:hover {
    background: #3b4142;
    transform: translateY(-1px);
}

.supchat-topic:active { transform: none; }

.supchat-topic-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    flex-shrink: 0;
    background: rgb(var(--c-primary-rgb, 250 203 102) / .12);
    color: var(--c-primary, #facb66);
}

.supchat-topic-ico svg { width: 15px; height: 15px; }

.supchat-topic-arrow {
    margin-left: auto;
    color: var(--supchat-dim);
    flex-shrink: 0;
    opacity: .7;
}

.supchat-topic-arrow svg { width: 14px; height: 14px; display: block; }

.supchat-welcome-foot {
    margin-top: 16px;
    text-align: center;
}

.supchat-faqlink {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 4px;
    border: 0;
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    color: var(--c-primary, #facb66);
    cursor: pointer;
}

.supchat-faqlink:hover { text-decoration: underline; }

/* ------------------------------ mensagens ------------------------------ */

.supchat-stream { display: flex; flex-direction: column; }

.supchat-stream-head[hidden] { display: none; }

.supchat-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 6px 0 14px;
}

.supchat-divider span {
    padding: 4px 11px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .05);
    font-size: 10.5px;
    font-weight: 600;
    color: var(--supchat-dim);
}

.supchat-note {
    margin: 4px auto 14px;
    max-width: 88%;
    text-align: center;
    font-size: 11px;
    line-height: 1.5;
    color: var(--supchat-dim);
}

/* Aviso escrito pelo servidor: "fulano entrou", encerramento. Não é de
   ninguém, então não é um balão — é uma pílula no meio da conversa. */
.supchat-sys {
    align-self: center;
    max-width: 88%;
    margin: 8px auto 12px;
    padding: 5px 12px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .05);
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
    color: var(--supchat-dim);
    animation: supchat-in .26s var(--supchat-ease) both;
}

.supchat-msg {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin-bottom: 10px;
    animation: supchat-in .26s var(--supchat-ease) both;
}

.supchat-msg.is-grouped { margin-top: -6px; }

@keyframes supchat-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

.supchat-msg--user { flex-direction: row-reverse; }

/* O avatar da mensagem é o mesmo nó do cabeçalho (clonado do <template>), só
   que menor — daí a especificidade dupla, para vencer o width:100% do art.
   A 26px o aro de 1px do cabeçalho some: aqui o fundo é mais firme. */
.supchat-av.supchat-avatar-art {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    margin-bottom: 2px;
}

/* O fundo dourado só existe no avatar sem foto — com a marca ou o retrato do
   atendente, quem preenche o círculo é a imagem. */
.supchat-av.supchat-avatar-art:not(.has-foto) {
    background: rgb(var(--c-primary-rgb, 250 203 102) / .16);
}

.supchat-av.supchat-avatar-art svg { width: 60%; height: 60%; }

.supchat-msg.is-grouped .supchat-av { visibility: hidden; }

.supchat-msg--user .supchat-av { display: none; }

.supchat-bubble-wrap { max-width: 78%; min-width: 0; }

.supchat-bubble {
    padding: 9px 12px;
    border-radius: 16px;
    font-size: 13.5px;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.supchat-msg--agent .supchat-bubble {
    background: var(--supchat-raised);
    border-bottom-left-radius: 5px;
    color: var(--supchat-text);
}

.supchat-msg--user .supchat-bubble {
    background: var(--c-primary, #facb66);
    color: var(--c-on-primary, #2e2c2c);
    border-bottom-right-radius: 5px;
    font-weight: 500;
}

.supchat-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    padding: 0 3px;
    font-size: 10.5px;
    color: var(--supchat-dim);
}

.supchat-msg--user .supchat-meta { justify-content: flex-end; }

.supchat-ticks { display: flex; color: var(--supchat-dim); }

.supchat-ticks svg { width: 14px; height: 14px; display: block; }

.supchat-ticks.is-read { color: var(--c-primary, #facb66); }

/* --------------------------- "digitando…" ------------------------------ */

.supchat-typing {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin-bottom: 10px;
}

.supchat-typing[hidden] { display: none; }

.supchat-typing-bubble {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 13px;
    border-radius: 16px;
    border-bottom-left-radius: 5px;
    background: var(--supchat-raised);
}

.supchat-typing-bubble i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--supchat-dim);
    animation: supchat-dot 1.3s infinite ease-in-out;
}

.supchat-typing-bubble i:nth-child(2) { animation-delay: .18s; }
.supchat-typing-bubble i:nth-child(3) { animation-delay: .36s; }

@keyframes supchat-dot {
    0%, 60%, 100% { opacity: .3; transform: translateY(0); }
    30%           { opacity: 1;  transform: translateY(-3px); }
}

/* =============================== redação =============================== */

.supchat-composer {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 10px 12px;
    background: var(--supchat-bg);
    border-top: 1px solid var(--supchat-hairline);
    flex-shrink: 0;
}

/* Regra de autor vence o [hidden] do user-agent: sem isto a barra de redação
   continuaria à vista embaixo do cartão de avaliação. */
.supchat-composer[hidden] { display: none; }

.supchat-attach {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--supchat-dim);
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.supchat-attach:hover {
    background: rgba(255, 255, 255, .06);
    color: var(--supchat-text);
}

.supchat-attach svg { width: 18px; height: 18px; }

.supchat-input-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    padding: 9px 13px;
    border-radius: 14px;
    background: var(--supchat-raised);
    transition: box-shadow .15s ease;
}

/* Foco marcado por anel interno, não por borda: sem aro o campo não "pula". */
.supchat-input-wrap:focus-within {
    box-shadow: inset 0 0 0 1px rgb(var(--c-primary-rgb, 250 203 102) / .5);
}

.supchat-input {
    width: 100%;
    max-height: 108px;
    border: 0;
    outline: 0;
    resize: none;
    background: transparent;
    color: var(--supchat-text);
    font-family: inherit;
    font-size: 13.5px;
    line-height: 1.45;
    padding: 0;
    /* iOS dá zoom em input com menos de 16px; a compensação vai no @media. */
}

.supchat-input::placeholder { color: var(--supchat-dim); }

.supchat-input::-webkit-scrollbar { width: 4px; }
.supchat-input::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .14);
    border-radius: 99px;
}

.supchat-send {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border: 0;
    border-radius: 12px;
    background: var(--c-primary, #facb66);
    color: var(--c-on-primary, #2e2c2c);
    cursor: pointer;
    transition: opacity .15s ease, transform .12s ease, background .15s ease;
}

.supchat-send:hover:not(:disabled) { background: var(--c-primary-hover, #d5ac57); }
.supchat-send:active:not(:disabled) { transform: scale(.94); }

.supchat-send:disabled {
    opacity: .35;
    cursor: default;
    background: var(--supchat-raised);
    color: var(--supchat-dim);
}

.supchat-send svg { width: 17px; height: 17px; }

/* ========================== avaliação no fim ========================== */

/* Ocupa o lugar da barra de redação quando o atendimento encerra: a conversa
   acabou, escrever não é mais a ação — dar a nota é. */
.supchat-rate,
.supchat-rate-done {
    padding: 16px 16px 14px;
    background: var(--supchat-bg);
    border-top: 1px solid var(--supchat-hairline);
    flex-shrink: 0;
    animation: supchat-in .3s var(--supchat-ease) both;
}

.supchat-rate[hidden],
.supchat-rate-done[hidden] { display: none; }

.supchat-rate-title {
    font-size: 13.5px;
    font-weight: 700;
    text-align: center;
}

.supchat-rate-desc {
    margin-top: 3px;
    font-size: 11.5px;
    line-height: 1.5;
    text-align: center;
    color: var(--supchat-dim);
}

.supchat-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 12px 0 2px;
}

.supchat-star {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #4a5354;
    cursor: pointer;
    transition: color .12s ease, transform .12s ease;
}

.supchat-star svg { width: 26px; height: 26px; }
.supchat-star:hover { transform: scale(1.12); }

/* A estrela marcada e todas à esquerda dela acendem — o JS põe a classe em
   cada uma, porque CSS não alcança irmãos anteriores. */
.supchat-star.is-on { color: var(--c-primary, #facb66); }

.supchat-rate-note {
    display: block;
    width: 100%;
    max-height: 88px;
    margin-top: 10px;
    padding: 9px 12px;
    border: 0;
    border-radius: 12px;
    outline: 0;
    resize: none;
    background: var(--supchat-raised);
    color: var(--supchat-text);
    font-family: inherit;
    font-size: 13px;
    line-height: 1.45;
}

.supchat-rate-note::placeholder { color: var(--supchat-dim); }

.supchat-rate-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.supchat-rate-send {
    flex: 1;
    padding: 11px 16px;
    border: 0;
    border-radius: 11px;
    background: var(--c-primary, #facb66);
    color: var(--c-on-primary, #2e2c2c);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: filter .15s ease;
}

.supchat-rate-send:hover:not(:disabled) { filter: brightness(.92); }

.supchat-rate-send:disabled {
    opacity: .35;
    cursor: default;
    background: var(--supchat-raised);
    color: var(--supchat-dim);
}

.supchat-rate-skip {
    padding: 11px 14px;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: var(--supchat-dim);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}

.supchat-rate-skip:hover { color: var(--supchat-text); }

.supchat-rate-done {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--c-primary, #facb66);
}

.supchat-rate-done svg { width: 16px; height: 16px; }

.supchat-privacy {
    padding: 0 14px 9px;
    font-size: 10px;
    line-height: 1.4;
    text-align: center;
    color: var(--supchat-dim);
    background: var(--supchat-bg);
    flex-shrink: 0;
    opacity: .75;
}

/* ============================== lançador =============================== */

.supchat-launcher {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: calc(var(--supchat-z) - 1);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px 9px 9px;
    border: 0;
    border-radius: 99px;
    background: var(--supchat-bg);
    color: var(--supchat-text);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 700;
    animation: supchat-in .28s var(--supchat-ease) both;
    transition: transform .16s ease;
}

.supchat-launcher:hover { transform: translateY(-2px); }

.supchat-launcher .supchat-avatar { width: 32px; height: 32px; }

.supchat-launcher-badge {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 99px;
    background: var(--c-primary, #facb66);
    color: var(--c-on-primary, #2e2c2c);
    font-size: 11px;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
}

.supchat-launcher-badge[hidden] { display: none; }

/* ========================= mobile: tela cheia ========================== */

@media (max-width: 768px) {
    .supchat {
        inset: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: none;
        /* --supchat-vh é escrito pelo JS a partir do visualViewport para que o
           teclado do celular não empurre a barra de redação para fora. */
        height: var(--supchat-vh, 100dvh);
    }

    .supchat-panel {
        border: 0;
        border-radius: 0;
        box-shadow: none;
        transform: translateY(100%);
        transition: transform .32s var(--supchat-ease), opacity .2s ease;
        opacity: 1;
    }

    .supchat.is-open .supchat-panel { transform: none; }

    .supchat-head {
        padding: 12px 10px 12px 8px;
        padding-top: calc(12px + env(safe-area-inset-top));
    }

    .supchat-back { display: flex; }

    /* Minimizar não faz sentido em tela cheia: a seta de voltar já fecha. */
    .supchat-minimize { display: none; }

    .supchat-thread { padding: 14px 12px 6px; }

    .supchat-bubble-wrap { max-width: 82%; }

    .supchat-composer { padding: 9px 10px; }

    /* A nota de segurança é o último elemento do painel: é ela que carrega a
       margem da barra de gestos do iPhone. */
    .supchat-privacy {
        padding-bottom: calc(8px + env(safe-area-inset-bottom));
    }

    /* Com a conversa encerrada a nota de segurança some, e quem passa a ser o
       último do painel é o cartão de avaliação. */
    .supchat-rate,
    .supchat-rate-done {
        padding-bottom: calc(14px + env(safe-area-inset-bottom));
    }

    .supchat-rate-note { font-size: 16px; }

    /* 16px é o piso do iOS: abaixo disso o Safari dá zoom ao focar. */
    .supchat-input { font-size: 16px; }

    .supchat-launcher {
        right: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom));
    }
}

/* Trava de rolagem do fundo enquanto o chat ocupa a tela. */
body.supchat-locked {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .supchat-panel,
    .supchat-msg,
    .supchat-launcher {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
    .supchat-avatar-dot::after { animation: none; }
}
