[x-cloak] { display: none !important; }

.fade-in {
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.badge-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.msg-bubble img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}
.msg-bubble table {
    font-size: inherit;
    max-width: 100%;
}
.msg-bubble a {
    color: #2563eb;
    text-decoration: underline;
}
.msg-bubble p {
    margin: 0.25em 0;
}
