:root {
    --atdc-cor: #03a9f3;
    --atdc-cor-escura: #0288c7;
    --atdc-cor-clara: #e0f4fd;
    --atdc-cor-sombra: rgba(3, 169, 243, 0.5);
}

.notify-bottom-right-atendimento {
    left: auto;
    right: 26px;
    top: auto;
    bottom: 90px;
}

#atdc-bolha {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 10600;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--atdc-cor);
    color: #ffffff;
    border: none;
    border-radius: 32px;
    padding: 12px 20px 12px 16px;
    box-shadow: 0 6px 18px rgba(26, 95, 196, 0.45);
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: transform .15s ease, box-shadow .15s ease;
}

#atdc-bolha:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(26, 95, 196, 0.55);
}

#atdc-bolha .atdc-bolha-icone {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='22' height='22' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12a8 8 0 0 1 16 0'/%3E%3Cpath d='M3 13h3v6H4a1 1 0 0 1-1-1z'/%3E%3Cpath d='M21 13h-3v6h2a1 1 0 0 0 1-1z'/%3E%3C/svg%3E");
}

#atdc-bolha-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: #ff4d4f;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 0 0 2px #ffffff;
}

#atdc-painel {
    position: fixed;
    right: 26px;
    bottom: 84px;
    z-index: 10650;
    width: 500px;
    max-width: calc(100vw - 24px);
    height: 620px;
    max-height: calc(100vh - 200px);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.25);
    display: none;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

#atdc-painel.atdc-aberto {
    display: flex;
}

.atdc-cabecalho {
    position: relative;
    background: var(--atdc-cor);
    color: #ffffff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.atdc-cabecalho-titulos {
    flex: 1;
    min-width: 0;
}

.atdc-cabecalho-titulo {
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.atdc-cabecalho-sub {
    font-size: 11px;
    opacity: 0.85;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.atdc-cabecalho-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.atdc-cabecalho-btn:hover {
    background: rgba(255, 255, 255, 0.28);
}

.atdc-ico {
    width: 15px;
    height: 15px;
    background-repeat: no-repeat;
    background-position: center;
}

.atdc-ico-voltar { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='15' height='15' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E"); }
.atdc-ico-fechar { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='15' height='15' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round'%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3C/svg%3E"); }
.atdc-ico-busca { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='15' height='15' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E"); }
.atdc-ico-opcoes { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='15' height='15' fill='%23ffffff'%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Ccircle cx='12' cy='19' r='2'/%3E%3C/svg%3E"); }

/* -------- menu de opcoes do cabecalho -------- */

.atdc-menu-opcoes {
    display: none;
    position: absolute;
    top: calc(100% - 6px);
    right: 12px;
    z-index: 30;
    min-width: 190px;
    padding: 4px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.18);
}

.atdc-menu-opcoes.atdc-menu-aberto {
    display: block;
}

.atdc-menu-item {
    display: block;
    width: 100%;
    padding: 9px 12px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    color: #1c2333;
    cursor: pointer;
}

.atdc-menu-item:hover {
    background: #f0f3f9;
}

.atdc-menu-item-perigo {
    color: #c0392b;
}

.atdc-corpo {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #f4f6fb;
}

/* -------- confirmacao -------- */

.atdc-confirmacao {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 20;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(23, 43, 77, 0.45);
}

.atdc-confirmacao.atdc-visivel {
    display: flex;
}

.atdc-confirmacao-caixa {
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.atdc-confirmacao-titulo {
    font-size: 15px;
    font-weight: 600;
    color: #1f2d3d;
    margin-bottom: 8px;
}

.atdc-confirmacao-texto {
    font-size: 13px;
    color: #55637a;
    line-height: 1.45;
    margin-bottom: 16px;
}

.atdc-confirmacao-acoes {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.atdc-confirmacao-btn {
    border: 1px solid #d5dbe6;
    background: #ffffff;
    color: #55637a;
    border-radius: 8px;
    padding: 8px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.atdc-confirmacao-btn:hover {
    background: #f0f3f9;
}

.atdc-confirmacao-btn-ok {
    border-color: transparent;
    background: var(--atdc-cor);
    color: #ffffff;
}

.atdc-confirmacao-btn-ok:hover {
    background: var(--atdc-cor-escura);
}

/* -------- vistas -------- */

#atdc-vista-lista,
#atdc-vista-iniciar,
#atdc-vista-chat {
    display: none;
    flex: 1;
    min-height: 0;
    flex-direction: column;
}

#atdc-vista-lista.atdc-vista-ativa,
#atdc-vista-iniciar.atdc-vista-ativa,
#atdc-vista-chat.atdc-vista-ativa {
    display: flex;
}

#atdc-vista-lista {
    position: relative;
}

#atdc-vista-iniciar {
    overflow-y: auto;
}

/* -------- lista -------- */

.atdc-busca-lista {
    padding: 10px 14px;
    background: #ffffff;
    border-bottom: 1px solid #e7eaf0;
    flex-shrink: 0;
}

.atdc-busca-lista input {
    width: 100%;
    border: 1px solid #dde3ee;
    border-radius: 20px;
    padding: 7px 14px;
    font-size: 13px;
    outline: none;
}

.atdc-busca-lista input:focus {
    border-color: var(--atdc-cor);
}

.atdc-abas {
    display: flex;
    background: #ffffff;
    border-bottom: 1px solid #e7eaf0;
    flex-shrink: 0;
}

.atdc-aba {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 600;
    color: #8792a8;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.atdc-aba.atdc-aba-ativa {
    color: var(--atdc-cor-escura);
    border-bottom-color: var(--atdc-cor);
}

.atdc-lista {
    flex: 1;
    overflow-y: auto;
    padding: 6px;
}

.atdc-lista-vazia {
    text-align: center;
    color: #9aa4b8;
    font-size: 13px;
    padding: 40px 20px;
}

.atdc-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 6px;
    cursor: pointer;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border: 1px solid #eef1f7;
    transition: border-color .12s ease;
}

.atdc-card:hover {
    border-color: #c7d7f5;
}

.atdc-card-icone {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--atdc-cor-clara);
    color: var(--atdc-cor-escura);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.atdc-card-corpo {
    flex: 1;
    min-width: 0;
}

.atdc-card-topo {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 6px;
}

.atdc-card-titulo {
    font-size: 13.5px;
    font-weight: 600;
    color: #1c2333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.atdc-card-hora {
    font-size: 11px;
    color: #9aa4b8;
    flex-shrink: 0;
}

.atdc-card-previa {
    font-size: 12.5px;
    color: #6b7488;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.atdc-card-rodape {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.atdc-card-status {
    font-size: 10.5px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.atdc-card-status.atdc-status-fila { background: #fff3d6; color: #8a6300; }
.atdc-card-status.atdc-status-atendendo { background: #d9f2e3; color: #1c7a44; }
.atdc-card-status.atdc-status-finalizado { background: #eceff5; color: #6b7488; }

.atdc-card-badge {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: #ff4d4f;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.atdc-novo-flutuante {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--atdc-cor);
    border: none;
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    box-shadow: 0 6px 16px var(--atdc-cor-sombra);
    cursor: pointer;
}

/* -------- iniciar -------- */

.atdc-iniciar {
    padding: 18px 16px;
    overflow-y: auto;
}

.atdc-iniciar-rotulo {
    font-size: 12.5px;
    font-weight: 600;
    color: #4a5568;
    margin: 14px 0 8px;
}

.atdc-iniciar textarea {
    width: 100%;
    border: 1px solid #dde3ee;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    resize: vertical;
    min-height: 70px;
    outline: none;
}

.atdc-iniciar textarea:focus {
    border-color: var(--atdc-cor);
}

.atdc-btn-primario {
    width: 100%;
    background: var(--atdc-cor);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 11px 0;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
}

.atdc-btn-primario:hover {
    background: var(--atdc-cor-escura);
}

.atdc-btn-primario:disabled {
    opacity: 0.6;
    cursor: default;
}

/* -------- chat -------- */

.atdc-busca-chat {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #ffffff;
    border-bottom: 1px solid #e7eaf0;
    flex-shrink: 0;
}

.atdc-busca-chat.atdc-visivel {
    display: flex;
}

.atdc-busca-chat input {
    flex: 1;
    border: 1px solid #dde3ee;
    border-radius: 16px;
    padding: 5px 12px;
    font-size: 12.5px;
    outline: none;
}

.atdc-busca-chat-contagem {
    font-size: 11px;
    color: #8792a8;
    white-space: nowrap;
}

.atdc-mensagens {
    flex: 1;
    overflow-y: auto;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.atdc-msg {
    max-width: 82%;
    display: flex;
    flex-direction: column;
}

.atdc-msg.atdc-msg-eu { align-self: flex-end; align-items: flex-end; }
.atdc-msg.atdc-msg-outro { align-self: flex-start; align-items: flex-start; }

.atdc-msg-balao {
    border-radius: 14px;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.4;
    word-break: break-word;
    position: relative;
}

.atdc-msg-eu .atdc-msg-balao {
    background: var(--atdc-cor);
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.atdc-msg-outro .atdc-msg-balao {
    background: #ffffff;
    color: #1c2333;
    border: 1px solid #e7eaf0;
    border-bottom-left-radius: 4px;
}

.atdc-msg-autor {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--atdc-cor-escura);
    margin-bottom: 2px;
}

.atdc-msg-resposta {
    border-left: 3px solid rgba(255, 255, 255, 0.6);
    padding: 4px 8px;
    margin-bottom: 6px;
    font-size: 11.5px;
    opacity: 0.85;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.06);
}

.atdc-msg-outro .atdc-msg-resposta {
    border-left-color: var(--atdc-cor);
}

.atdc-msg-resposta-autor {
    font-weight: 700;
    font-size: 10.5px;
}

.atdc-msg-rodape {
    display: flex;
    gap: 5px;
    align-items: center;
    margin-top: 3px;
    font-size: 10px;
    color: #9aa4b8;
}

.atdc-msg-eu .atdc-msg-rodape { color: rgba(255, 255, 255, 0.75); }

.atdc-msg-lido { color: var(--atdc-cor); }

.atdc-msg-sistema {
    align-self: center;
    background: #eceff5;
    color: #6b7488;
    font-size: 11px;
    padding: 5px 12px;
    border-radius: 12px;
    text-align: center;
    max-width: 90%;
}

.atdc-msg-assunto {
    align-self: center;
    width: 92%;
}

.atdc-msg-assunto-cartao {
    width: 100%;
    box-sizing: border-box;
    background: #fff6df;
    border-left: 3px solid #d1a52e;
    border-radius: 8px;
    padding: 6px 16px;
}

.atdc-msg-assunto-linha {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.atdc-msg-assunto-rotulo {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: #8a6300;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.atdc-msg-assunto-texto {
    flex: 1;
    min-width: 0;
    font-size: 12.5px;
    line-height: 1.3;
    color: #5c4a12;
}

.atdc-msg-assunto-hora {
    flex-shrink: 0;
    font-size: 10px;
    color: #a08838;
}

.atdc-msg-imagem, .atdc-msg-arquivo {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.atdc-msg-imagem img {
    max-width: 220px;
    border-radius: 10px;
    display: block;
}

#popup-img {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 100000;
    display: none;
}

#popup-img .img-toolbar {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

#popup-img .img-toolbar button {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 18px;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 4px;
}

#popup-img .img-toolbar button:hover {
    background: rgba(255, 255, 255, 0.3);
}

#popup-img .img-container {
    width: 100%;
    height: 100%;
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

#popup-img img {
    max-width: 90%;
    max-height: 90%;
    transition: transform 0.15s ease;
    transform-origin: center center;
    cursor: grab;
}

.atdc-msg-audio {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 220px;
    max-width: 280px;
    padding: 2px 0;
}

.atdc-audio-btn {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: var(--atdc-cor);
    color: #ffffff;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    transition: background 0.15s ease;
}

.atdc-audio-btn:hover {
    background: var(--atdc-cor-escura);
}

.atdc-audio-wave {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 30px;
    flex: 1;
    cursor: pointer;
}

.atdc-audio-bar {
    flex: 1;
    min-width: 2px;
    max-width: 4px;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.1s ease;
}

.atdc-audio-bar.on {
    background: var(--atdc-cor);
}

.atdc-audio-time {
    flex-shrink: 0;
    font-size: 11px;
    color: #6b7280;
    min-width: 28px;
    text-align: right;
}

mark.atdc-marca {
    background: #ffe58f;
    color: inherit;
    padding: 0 1px;
    border-radius: 2px;
}

mark.atdc-marca.atdc-marca-atual {
    background: #ff9d3d;
}

/* -------- rodape / entrada -------- */

.atdc-entrada {
    border-top: 1px solid #e7eaf0;
    background: #ffffff;
    padding: 8px 10px;
    flex-shrink: 0;
    position: relative;
}

.atdc-entrada.atdc-encerrado .atdc-entrada-linha {
    display: none;
}

.atdc-entrada-encerrado-aviso {
    display: none;
    text-align: center;
    font-size: 12px;
    color: #9aa4b8;
    padding: 8px 0;
}

.atdc-entrada.atdc-encerrado .atdc-entrada-encerrado-aviso {
    display: block;
}

.atdc-entrada-linha {
    display: flex;
    align-items: flex-end;
    gap: 6px;
}

.atdc-entrada-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #f0f3f9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.atdc-entrada-btn:hover {
    background: #e2e9f7;
}

.atdc-entrada-btn.atdc-gravando {
    background: #ffe1e1;
}

.atdc-campo-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
}

.atdc-entrada textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dde3ee;
    border-radius: 18px;
    padding: 8px 14px;
    font-size: 13px;
    resize: none;
    max-height: 90px;
    outline: none;
    line-height: 1.35;
}

.atdc-entrada textarea:focus {
    border-color: var(--atdc-cor);
}

.atdc-entrada-enviar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--atdc-cor);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.atdc-entrada-enviar:hover {
    background: var(--atdc-cor-escura);
}

.atdc-entrada-enviar:disabled {
    background: #c3cad6;
    cursor: default;
}

.atdc-svg-branco {
    filter: brightness(0) invert(1);
}

.atdc-resposta-preview {
    display: none;
    align-items: center;
    gap: 8px;
    background: #f4f6fb;
    border-radius: 10px;
    padding: 6px 10px;
    margin-bottom: 6px;
    font-size: 12px;
}

.atdc-resposta-preview.atdc-visivel {
    display: flex;
}

.atdc-resposta-preview-texto {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #4a5568;
}

.atdc-resposta-preview-fechar {
    cursor: pointer;
    color: #9aa4b8;
    font-weight: 700;
}

.atdc-anexo-preview {
    display: none;
    align-items: center;
    gap: 8px;
    background: #f4f6fb;
    border-radius: 10px;
    padding: 6px 10px;
    margin-bottom: 6px;
    font-size: 12px;
}

.atdc-anexo-preview.atdc-visivel {
    display: flex;
}

.atdc-anexo-preview-fechar {
    cursor: pointer;
    color: #9aa4b8;
    font-weight: 700;
}

/* -------- gravacao ao vivo -------- */

.atdc-gravacao-live {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    align-items: center;
    gap: 8px;
    background: #fff5f5;
    border: 1px solid #ffd7d7;
    border-radius: 18px;
    padding: 6px 12px;
    font-size: 12px;
    z-index: 2;
}

.atdc-gravacao-live.atdc-visivel {
    display: flex;
}

.atdc-gravacao-ponto {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ff4d4f;
    animation: atdc-pulsa 1s infinite;
    flex-shrink: 0;
}

@keyframes atdc-pulsa {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

.atdc-gravacao-tempo {
    color: #c0392b;
    font-weight: 600;
    flex-shrink: 0;
}

.atdc-gravacao-onda {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 20px;
    flex: 1;
    overflow: hidden;
}

.atdc-gravacao-barra {
    width: 3px;
    border-radius: 2px;
    background: #ff4d4f;
}

.atdc-gravacao-cancelar {
    color: #9aa4b8;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
}

/* -------- emoji picker -------- */

.atdc-emoji-picker {
    display: none;
    position: absolute;
    bottom: 56px;
    left: 10px;
    width: 300px;
    height: 300px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid #e7eaf0;
    flex-direction: column;
    overflow: hidden;
    z-index: 10700;
}

.atdc-emoji-picker.atdc-visivel {
    display: flex;
}

.atdc-emoji-busca {
    padding: 8px;
    border-bottom: 1px solid #eef1f7;
    flex-shrink: 0;
}

.atdc-emoji-busca input {
    width: 100%;
    border: 1px solid #dde3ee;
    border-radius: 14px;
    padding: 5px 10px;
    font-size: 12px;
    outline: none;
}

.atdc-emoji-categorias {
    display: flex;
    border-bottom: 1px solid #eef1f7;
    flex-shrink: 0;
}

.atdc-emoji-categoria {
    flex: 1;
    text-align: center;
    padding: 6px 0;
    cursor: pointer;
    font-size: 15px;
}

.atdc-emoji-categoria.atdc-categoria-ativa {
    background: #f4f8ff;
}

.atdc-emoji-lista {
    flex: 1;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    padding: 6px;
}

.atdc-emoji-item {
    text-align: center;
    font-size: 19px;
    padding: 3px 0;
    cursor: pointer;
    border-radius: 6px;
}

.atdc-emoji-item:hover {
    background: #f0f3f9;
}

/* -------- responsivo -------- */

@media (max-width: 480px) {
    #atdc-painel {
        right: 8px;
        bottom: 8px;
        width: calc(100vw - 16px);
        height: calc(100vh - 16px);
        max-height: none;
        border-radius: 12px;
    }

    #atdc-bolha {
        right: 14px;
        bottom: 14px;
    }

    #atdc-bolha span.atdc-bolha-texto {
        display: none;
    }
}
