.antu-chat-app {
    --brand: #00a884;
    --brand2: #075e54;
    --status-bg: #0b141a;
    --status-text: #ffffff;
    --header-bg: #075e54;
    --header-text: #ffffff;
    --header-border: transparent;
    --bg: #efeae2;
    --chat-bg: #efeae2;
    --panel: #f0f2f5;
    --compose-bg: #f0f2f5;
    --input-bg: #ffffff;
    --text: #111827;
    --muted: #667781;
    --bubble-me: #d9fdd3;
    --bubble-them: #ffffff;
    --bubble-me-text: #111b21;
    --bubble-them-text: #111b21;
    --bubble-shadow: rgba(0, 0, 0, 0.08);
    --seen: #34b7f1;
    --date-bg: rgba(255,255,255,0.86);
    --date-text: #667781;
    --border: #d1d7db;
    --danger: #dc2626;
    --soft: #f8fafc;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    max-width: 1200px;
    margin: 22px auto;
}

.antu-chat-app * {
    box-sizing: border-box;
}

.antu-chat-notice {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #7c2d12;
    padding: 11px 13px;
    border-radius: 12px;
    margin-bottom: 14px;
    font-size: 13px;
    line-height: 1.5;
}

.antu-chat-builder {
    display: grid;
    grid-template-columns: minmax(300px, 380px) 1fr;
    gap: 20px;
    align-items: start;
}

.antu-chat-controls {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

.antu-section {
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.antu-section:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.antu-section h3 {
    font-size: 15px;
    line-height: 1.2;
    margin: 0 0 11px;
    color: #0f172a;
}

.antu-chat-controls label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin: 9px 0 5px;
    color: #1f2937;
}

.antu-chat-controls input,
.antu-chat-controls select,
.antu-chat-controls textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 11px;
    padding: 9px 10px;
    font-size: 14px;
    line-height: 1.35;
    background: #ffffff;
    color: #111827;
    outline: none;
}

.antu-chat-controls input:focus,
.antu-chat-controls select:focus,
.antu-chat-controls textarea:focus,
.antu-live-input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.16);
}

.antu-chat-controls textarea {
    resize: vertical;
}

.antu-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

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

.antu-wrap {
    flex-wrap: wrap;
}

.antu-chat-controls button,
.antu-live-send {
    border: 0;
    border-radius: 11px;
    background: #111827;
    color: #ffffff;
    padding: 10px 13px;
    font-weight: 800;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.1;
    transition: transform 0.12s ease, opacity 0.12s ease, background 0.12s ease;
}

.antu-chat-controls button:hover,
.antu-live-send:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.antu-chat-controls button:disabled,
.antu-live-send:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.antu-update-message {
    background: var(--brand2) !important;
}

.antu-cancel-edit,
.antu-clear,
.antu-clear-bulk {
    background: #475569 !important;
}

.antu-reset {
    background: #334155 !important;
}

.antu-check-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 4px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.antu-check-row input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--brand);
}

.antu-help {
    font-size: 12px;
    line-height: 1.45;
    color: var(--muted);
    margin: 6px 0 8px;
}

.antu-help code {
    background: #f1f5f9;
    padding: 2px 4px;
    border-radius: 4px;
}

.antu-export-message {
    font-size: 12px;
    color: var(--muted);
    min-height: 16px;
    margin: 8px 0 0;
}

.antu-preview-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: linear-gradient(135deg, #eef2ff, #ecfeff);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    min-height: 720px;
    position: sticky;
    top: 20px;
}

.antu-phone {
    width: 390px;
    max-width: 100%;
    background: #e5ddd5;
    border: 12px solid #111827;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 22px 58px rgba(15, 23, 42, 0.30);
    transition: width 0.2s ease;
}

.antu-phone.antu-device-wide {
    width: 560px;
}

.antu-mode-dark {
    --status-bg: #111b21;
    --status-text: #ffffff;
    --header-bg: #202c33;
    --chat-bg: #0b141a;
    --bg: #0b141a;
    --panel: #111b21;
    --compose-bg: #202c33;
    --input-bg: #2a3942;
    --text: #e9edef;
    --muted: #8696a0;
    --bubble-me: #005c4b;
    --bubble-them: #202c33;
    --bubble-me-text: #e9edef;
    --bubble-them-text: #e9edef;
    --date-bg: #182229;
    --date-text: #aebac1;
    --border: #26343d;
    background: #0b141a;
    color: var(--text);
}

.antu-topbar {
    height: 25px;
    background: var(--status-bg);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    font-size: 12px;
    font-weight: 700;
}

.antu-topbar-icons {
    letter-spacing: 1px;
    font-size: 10px;
}

.antu-header {
    min-height: 60px;
    background: var(--header-bg);
    color: var(--header-text);
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--header-border);
}

.antu-back {
    font-size: 30px;
    line-height: 1;
    opacity: 0.95;
}

.antu-header-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    background: #e5e7eb;
    border: 2px solid rgba(255, 255, 255, 0.58);
    flex: 0 0 42px;
}

.antu-title-block {
    flex: 1;
    min-width: 0;
}

.antu-title {
    font-weight: 800;
    font-size: 16px;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.antu-subtitle {
    font-size: 12px;
    opacity: 0.92;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.antu-icons {
    font-size: 24px;
    line-height: 1;
}

.antu-chat-area {
    min-height: 500px;
    max-height: 570px;
    overflow-y: auto;
    padding: 14px;
    background: var(--chat-bg);
}

.antu-date-chip {
    text-align: center;
    background: var(--date-bg);
    color: var(--date-text);
    font-size: 12px;
    width: max-content;
    max-width: 90%;
    margin: 0 auto 12px;
    padding: 5px 10px;
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.antu-mode-dark .antu-date-chip {
    background: var(--date-bg);
    color: var(--date-text);
}

.antu-message {
    display: flex;
    gap: 7px;
    margin: 9px 0;
    align-items: flex-end;
}

.antu-message.me {
    justify-content: flex-end;
}

.antu-message.them {
    justify-content: flex-start;
}

.antu-msg-avatar {
    width: 29px;
    height: 29px;
    border-radius: 50%;
    object-fit: cover;
    background: #d1d5db;
    flex: 0 0 29px;
}

.antu-message.me .antu-msg-avatar {
    display: none;
}

.antu-bubble-wrap {
    max-width: 78%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.antu-message.me .antu-bubble-wrap {
    align-items: flex-end;
}

.antu-bubble {
    width: max-content;
    max-width: 100%;
    padding: 8px 10px;
    border-radius: 14px;
    background: var(--bubble-them);
    box-shadow: 0 1px 1px var(--bubble-shadow);
    position: relative;
    color: var(--text);
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    line-height: 1.35;
    font-size: 14px;
}

.antu-message.me .antu-bubble {
    background: var(--bubble-me);
    color: var(--bubble-me-text);
    border-bottom-right-radius: 4px;
}

.antu-message.them .antu-bubble {
    background: var(--bubble-them);
    color: var(--bubble-them-text);
    border-bottom-left-radius: 4px;
}

.antu-name-small {
    display: block;
    font-size: 11px;
    color: var(--brand2);
    font-weight: 800;
    margin-bottom: 3px;
}

.antu-msg-text {
    display: block;
}

.antu-meta {
    display: flex;
    gap: 5px;
    justify-content: flex-end;
    align-items: center;
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1;
}

.antu-check.seen {
    color: var(--seen);
}

.antu-message-actions {
    display: flex;
    gap: 5px;
    margin-top: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.12s ease;
}

.antu-message:hover .antu-message-actions,
.antu-message:focus-within .antu-message-actions {
    opacity: 1;
    pointer-events: auto;
}

.antu-message-actions button {
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    color: #ffffff;
    padding: 4px 8px;
    font-size: 10px;
    cursor: pointer;
}

.antu-message-actions button[data-action="delete"] {
    background: rgba(220, 38, 38, 0.9);
}

.antu-typing .antu-bubble {
    display: inline-flex;
    gap: 4px;
    padding: 11px 13px;
}

.antu-typing i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #9ca3af;
    display: block;
    animation: antuBounce 1.1s infinite;
}

.antu-typing i:nth-child(2) {
    animation-delay: 0.15s;
}

.antu-typing i:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes antuBounce {
    0%, 80%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    40% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

.antu-compose {
    min-height: 58px;
    background: var(--compose-bg);
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border-top: 1px solid var(--border);
}

.antu-live-input {
    flex: 1;
    min-height: 38px;
    max-height: 84px;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 14px;
    background: var(--input-bg);
    color: var(--text);
    font-size: 14px;
    line-height: 1.25;
    resize: none;
    outline: none;
    overflow-y: auto;
}

.antu-live-send {
    background: var(--brand);
    color: #ffffff;
    border-radius: 50%;
    width: 39px;
    height: 39px;
    padding: 0;
    display: grid;
    place-items: center;
    flex: 0 0 39px;
    font-size: 15px;
}


.antu-color-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 8px 0 10px;
}

.antu-color-grid label {
    margin: 0;
    font-size: 12px;
    color: #374151;
}

.antu-color-grid input[type="color"] {
    height: 36px;
    padding: 3px;
    cursor: pointer;
}

.antu-chat-controls .antu-live-sender {
    width: 100%;
}


/* Platform color systems: refined app-specific palettes. These are safe mockup colors, not official logos. */
.antu-platform-whatsapp {
    --brand: #00a884;
    --brand2: #008069;
    --status-bg: #005c4b;
    --status-text: #ffffff;
    --header-bg: #008069;
    --header-text: #ffffff;
    --header-border: transparent;
    --chat-bg: #efeae2;
    --compose-bg: #f0f2f5;
    --input-bg: #ffffff;
    --bubble-me: #d9fdd3;
    --bubble-them: #ffffff;
    --bubble-me-text: #111b21;
    --bubble-them-text: #111b21;
    --muted: #667781;
    --seen: #53bdeb;
    --date-bg: rgba(255, 255, 255, 0.9);
    --date-text: #667781;
    --border: #d1d7db;
}

.antu-platform-whatsapp.antu-mode-dark {
    --brand: #00a884;
    --brand2: #00a884;
    --status-bg: #111b21;
    --status-text: #e9edef;
    --header-bg: #202c33;
    --header-text: #e9edef;
    --chat-bg: #0b141a;
    --compose-bg: #202c33;
    --input-bg: #2a3942;
    --bubble-me: #005c4b;
    --bubble-them: #202c33;
    --bubble-me-text: #e9edef;
    --bubble-them-text: #e9edef;
    --date-bg: #182229;
    --date-text: #aebac1;
    --border: #26343d;
    --muted: #8696a0;
}

.antu-platform-messenger {
    --brand: #0084ff;
    --brand2: #0064e0;
    --status-bg: #ffffff;
    --status-text: #050505;
    --header-bg: #ffffff;
    --header-text: #050505;
    --header-border: #e4e6eb;
    --chat-bg: #ffffff;
    --compose-bg: #ffffff;
    --input-bg: #f0f2f5;
    --bubble-me: #0084ff;
    --bubble-them: #f0f0f0;
    --bubble-me-text: #ffffff;
    --bubble-them-text: #050505;
    --muted: #65676b;
    --seen: #0084ff;
    --date-bg: #f0f2f5;
    --date-text: #65676b;
    --border: #d8dadf;
}

.antu-platform-messenger.antu-mode-dark {
    --status-bg: #050505;
    --status-text: #e4e6eb;
    --header-bg: #242526;
    --header-text: #e4e6eb;
    --header-border: #3a3b3c;
    --chat-bg: #18191a;
    --compose-bg: #242526;
    --input-bg: #3a3b3c;
    --bubble-them: #3a3b3c;
    --bubble-them-text: #e4e6eb;
    --date-bg: #3a3b3c;
    --date-text: #b0b3b8;
    --border: #3a3b3c;
}

.antu-platform-instagram {
    --brand: #e4405f;
    --brand2: #833ab4;
    --status-bg: #ffffff;
    --status-text: #111111;
    --header-bg: #ffffff;
    --header-text: #111111;
    --header-border: #dbdbdb;
    --chat-bg: #ffffff;
    --compose-bg: #ffffff;
    --input-bg: #f4f4f5;
    --bubble-me: linear-gradient(135deg, #833ab4 0%, #c13584 45%, #e1306c 72%, #f77737 100%);
    --bubble-them: #efefef;
    --bubble-me-text: #ffffff;
    --bubble-them-text: #111111;
    --muted: #737373;
    --seen: #e1306c;
    --date-bg: #f4f4f5;
    --date-text: #737373;
    --border: #dbdbdb;
}

.antu-platform-instagram.antu-mode-dark {
    --status-bg: #000000;
    --status-text: #f5f5f5;
    --header-bg: #000000;
    --header-text: #f5f5f5;
    --header-border: #262626;
    --chat-bg: #000000;
    --compose-bg: #000000;
    --input-bg: #262626;
    --bubble-them: #262626;
    --bubble-them-text: #f5f5f5;
    --date-bg: #262626;
    --date-text: #a8a8a8;
    --border: #363636;
}

.antu-platform-telegram {
    --brand: #2aabee;
    --brand2: #229ed9;
    --status-bg: #229ed9;
    --status-text: #ffffff;
    --header-bg: #2aabee;
    --header-text: #ffffff;
    --header-border: transparent;
    --chat-bg: #dfe8ef;
    --compose-bg: #ffffff;
    --input-bg: #ffffff;
    --bubble-me: #eeffde;
    --bubble-them: #ffffff;
    --bubble-me-text: #111827;
    --bubble-them-text: #111827;
    --muted: #6b7280;
    --seen: #4fa3d1;
    --date-bg: rgba(255, 255, 255, 0.78);
    --date-text: #64748b;
    --border: #d7e2ea;
}

.antu-platform-telegram.antu-mode-dark {
    --status-bg: #17212b;
    --status-text: #ffffff;
    --header-bg: #17212b;
    --chat-bg: #0e1621;
    --compose-bg: #17212b;
    --input-bg: #242f3d;
    --bubble-me: #2b5278;
    --bubble-them: #182533;
    --bubble-me-text: #ffffff;
    --bubble-them-text: #ffffff;
    --date-bg: #1f2c38;
    --date-text: #8aa4b8;
    --border: #2a3a49;
}

.antu-platform-discord {
    --brand: #5865f2;
    --brand2: #5865f2;
    --status-bg: #1e1f22;
    --status-text: #f2f3f5;
    --header-bg: #2b2d31;
    --header-text: #f2f3f5;
    --header-border: #1e1f22;
    --chat-bg: #313338;
    --compose-bg: #313338;
    --input-bg: #383a40;
    --bubble-me: #5865f2;
    --bubble-them: #2b2d31;
    --bubble-me-text: #ffffff;
    --bubble-them-text: #f2f3f5;
    --muted: #949ba4;
    --seen: #23a55a;
    --date-bg: #2b2d31;
    --date-text: #b5bac1;
    --border: #1e1f22;
}

.antu-platform-linkedin {
    --brand: #0a66c2;
    --brand2: #004182;
    --status-bg: #ffffff;
    --status-text: #000000;
    --header-bg: #ffffff;
    --header-text: #000000;
    --header-border: #d0d7de;
    --chat-bg: #f3f6f8;
    --compose-bg: #ffffff;
    --input-bg: #eef3f8;
    --bubble-me: #0a66c2;
    --bubble-them: #ffffff;
    --bubble-me-text: #ffffff;
    --bubble-them-text: #000000;
    --muted: #666666;
    --seen: #0a66c2;
    --date-bg: #ffffff;
    --date-text: #666666;
    --border: #d0d7de;
}

.antu-platform-linkedin.antu-mode-dark {
    --status-bg: #000000;
    --status-text: #ffffff;
    --header-bg: #1d2226;
    --header-text: #ffffff;
    --header-border: #38434f;
    --chat-bg: #1d2226;
    --compose-bg: #1d2226;
    --input-bg: #38434f;
    --bubble-me: #0a66c2;
    --bubble-them: #2f3437;
    --bubble-me-text: #ffffff;
    --bubble-them-text: #ffffff;
    --date-bg: #2f3437;
    --date-text: #b6bbc0;
    --border: #38434f;
}

.antu-platform-youtube {
    --brand: #ff0000;
    --brand2: #cc0000;
    --status-bg: #ffffff;
    --status-text: #0f0f0f;
    --header-bg: #ffffff;
    --header-text: #0f0f0f;
    --header-border: #e5e5e5;
    --chat-bg: #ffffff;
    --compose-bg: #ffffff;
    --input-bg: #f1f1f1;
    --bubble-me: #f1f1f1;
    --bubble-them: #ffffff;
    --bubble-me-text: #0f0f0f;
    --bubble-them-text: #0f0f0f;
    --muted: #606060;
    --seen: #065fd4;
    --date-bg: #f1f1f1;
    --date-text: #606060;
    --border: #e5e5e5;
}

.antu-platform-youtube.antu-mode-dark {
    --status-bg: #0f0f0f;
    --status-text: #ffffff;
    --header-bg: #0f0f0f;
    --header-text: #ffffff;
    --header-border: #3f3f3f;
    --chat-bg: #0f0f0f;
    --compose-bg: #0f0f0f;
    --input-bg: #272727;
    --bubble-me: #272727;
    --bubble-them: #181818;
    --bubble-me-text: #ffffff;
    --bubble-them-text: #ffffff;
    --date-bg: #272727;
    --date-text: #aaaaaa;
    --border: #3f3f3f;
}

.antu-platform-fiverr {
    --brand: #1dbf73;
    --brand2: #1dbf73;
    --status-bg: #ffffff;
    --status-text: #404145;
    --header-bg: #ffffff;
    --header-text: #404145;
    --header-border: #e4e5e7;
    --chat-bg: #f7f7f7;
    --compose-bg: #ffffff;
    --input-bg: #f5f5f5;
    --bubble-me: #1dbf73;
    --bubble-them: #ffffff;
    --bubble-me-text: #ffffff;
    --bubble-them-text: #222325;
    --muted: #74767e;
    --seen: #1dbf73;
    --date-bg: #ffffff;
    --date-text: #74767e;
    --border: #e4e5e7;
}

.antu-platform-fiverr.antu-mode-dark {
    --status-bg: #0b3b26;
    --status-text: #ffffff;
    --header-bg: #121212;
    --header-text: #ffffff;
    --header-border: #3a3a3a;
    --chat-bg: #121212;
    --compose-bg: #1f1f1f;
    --input-bg: #2a2a2a;
    --bubble-me: #1dbf73;
    --bubble-them: #2a2a2a;
    --bubble-me-text: #ffffff;
    --bubble-them-text: #ffffff;
    --date-bg: #2a2a2a;
    --date-text: #b5b6ba;
    --border: #3a3a3a;
}

.antu-platform-custom {
    --brand: #111827;
    --brand2: #374151;
    --status-bg: #111827;
    --status-text: #ffffff;
    --header-bg: #374151;
    --header-text: #ffffff;
    --chat-bg: #f8fafc;
    --compose-bg: #ffffff;
    --input-bg: #f1f5f9;
    --bubble-me: #e0e7ff;
    --bubble-them: #ffffff;
    --bubble-me-text: #111827;
    --bubble-them-text: #111827;
    --muted: #64748b;
    --seen: #2563eb;
    --date-bg: #ffffff;
    --date-text: #64748b;
}

.antu-platform-instagram:not(.antu-custom-theme) .antu-live-send {
    background: linear-gradient(135deg, #833ab4, #e1306c, #f77737);
}

.antu-phone.antu-custom-theme .antu-live-send {
    background: var(--brand) !important;
}

@media (max-width: 920px) {
    .antu-chat-builder {
        grid-template-columns: 1fr;
    }
    .antu-chat-controls {
        order: 2;
    }
    .antu-preview-wrap {
        order: 1;
        position: static;
        padding: 16px;
        min-height: auto;
    }
}

@media (max-width: 520px) {
    .antu-chat-app {
        margin: 12px auto;
    }
    .antu-grid-2 {
        grid-template-columns: 1fr;
    }
    .antu-phone {
        border-width: 8px;
        border-radius: 28px;
    }
    .antu-chat-area {
        min-height: 430px;
        max-height: 500px;
    }
    .antu-chat-controls {
        padding: 13px;
    }
}

/* Emoji picker: local, lightweight, no external dependency. */
.antu-emoji-tools {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 7px 0 10px;
}

.antu-emoji-toggle,
.antu-chat-controls .antu-emoji-toggle,
.antu-live-emoji {
    background: #ffffff !important;
    color: #111827 !important;
    border: 1px solid #d1d5db !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.antu-chat-controls .antu-emoji-toggle {
    padding: 8px 11px;
    border-radius: 999px;
}

.antu-emoji-toggle:hover,
.antu-live-emoji:hover {
    background: #f8fafc !important;
}

.antu-emoji-picker {
    position: absolute;
    z-index: 80;
    top: 42px;
    left: 0;
    width: min(330px, 100%);
    max-height: 190px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 5px;
    padding: 9px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
}

.antu-emoji-picker[hidden] {
    display: none !important;
}

.antu-emoji-choice,
.antu-chat-controls .antu-emoji-choice {
    width: 100%;
    min-width: 0;
    height: 32px;
    padding: 0 !important;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #ffffff !important;
    color: #111827 !important;
    border: 1px solid transparent !important;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", Arial, sans-serif;
    font-size: 18px;
    line-height: 1;
}

.antu-emoji-choice:hover,
.antu-chat-controls .antu-emoji-choice:hover {
    background: #f1f5f9 !important;
    border-color: #e5e7eb !important;
    transform: none;
}

.antu-live-emoji-wrap {
    position: relative;
    flex: 0 0 auto;
}

.antu-live-emoji {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    padding: 0 !important;
    display: grid;
    place-items: center;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", Arial, sans-serif;
    font-size: 18px;
    line-height: 1;
}

.antu-live-picker {
    top: auto;
    bottom: 47px;
    left: 0;
    width: 300px;
    max-width: calc(100vw - 70px);
}

.antu-msg-text,
.antu-live-input,
.antu-message-text,
.antu-bubble,
.antu-title,
.antu-subtitle {
    font-family: Arial, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.antu-mode-dark .antu-emoji-picker {
    background: #1f2937;
    border-color: #374151;
}

.antu-mode-dark .antu-emoji-choice,
.antu-mode-dark .antu-chat-controls .antu-emoji-choice {
    background: #1f2937 !important;
    color: #ffffff !important;
}

.antu-mode-dark .antu-emoji-choice:hover,
.antu-mode-dark .antu-chat-controls .antu-emoji-choice:hover {
    background: #374151 !important;
}

@media (max-width: 520px) {
    .antu-emoji-picker {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        width: 100%;
    }

    .antu-live-picker {
        width: 260px;
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}
