/* STAR AI — industrial precision floating assistant */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600&family=Oxanium:wght@500;600&display=swap");

.star-ai-chat-root {
    --star-ai-red: #e51122;
    --star-ai-red-deep: #b80d1a;
    --star-ai-red-glow: rgba(229, 17, 34, 0.42);
    --star-ai-ink: #0c0e12;
    --star-ai-graphite: #151820;
    --star-ai-slate: #1e2430;
    --star-ai-line: rgba(255, 255, 255, 0.08);
    --star-ai-paper: #f4f5f7;
    --star-ai-paper-2: #ebedf2;
    --star-ai-text: #1a1d24;
    --star-ai-muted: #6b7280;
    --star-ai-radius: 18px;
    --star-ai-ease: cubic-bezier(0.22, 1, 0.36, 1);
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    z-index: 10050;
    -webkit-font-smoothing: antialiased;
}

/* Backdrop (mobile) */
.star-ai-chat-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8, 10, 14, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--star-ai-ease);
    z-index: 10048;
}

.star-ai-chat-root.is-open .star-ai-chat-backdrop {
    opacity: 1;
    pointer-events: auto;
}

/* FAB */
/* 高于同侧「回到顶部」.topin（约 bottom:30px + 高度），避免重叠 */
.star-ai-chat-fab-wrap {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 10052;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.star-ai-chat-fab-label {
    font-family: Oxanium, "Noto Sans SC", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--star-ai-ink);
    background: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s var(--star-ai-ease), transform 0.3s var(--star-ai-ease);
    pointer-events: none;
}

.star-ai-chat-root:not(.is-open) .star-ai-chat-fab-wrap:hover .star-ai-chat-fab-label {
    opacity: 1;
    transform: translateY(0);
}

.star-ai-chat-fab {
    position: relative;
    width: 58px;
    height: 58px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(145deg, var(--star-ai-red) 0%, var(--star-ai-red-deep) 100%);
    box-shadow:
        0 8px 28px var(--star-ai-red-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s var(--star-ai-ease), box-shadow 0.35s var(--star-ai-ease);
}

.star-ai-chat-fab::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(229, 17, 34, 0.35);
    animation: star-ai-fab-ring 2.8s ease-out infinite;
    pointer-events: none;
}

.star-ai-chat-root.is-open .star-ai-chat-fab::before {
    animation: none;
    opacity: 0;
}

@keyframes star-ai-fab-ring {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.35); opacity: 0; }
}

.star-ai-chat-fab:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 12px 36px var(--star-ai-red-glow);
}

.star-ai-chat-fab i {
    font-size: 22px;
    transition: transform 0.4s var(--star-ai-ease), opacity 0.2s;
}

.star-ai-chat-fab .star-ai-icon-close {
    position: absolute;
    opacity: 0;
    transform: rotate(-90deg) scale(0.6);
}

.star-ai-chat-root.is-open .star-ai-chat-fab .star-ai-icon-chat {
    opacity: 0;
    transform: rotate(90deg) scale(0.6);
}

.star-ai-chat-root.is-open .star-ai-chat-fab .star-ai-icon-close {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* 面板打开时隐藏底部 FAB，避免挡住发送钮（用标题栏「×」关闭） */
.star-ai-chat-root.is-open .star-ai-chat-fab-wrap {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 0.25s var(--star-ai-ease), transform 0.25s var(--star-ai-ease), visibility 0.25s;
}

/* Panel */
.star-ai-chat-panel {
    position: fixed;
    right: 20px;
    bottom: 96px;
    width: 400px;
    max-width: calc(100vw - 32px);
    height: min(560px, calc(100vh - 130px));
    display: flex;
    flex-direction: column;
    border-radius: var(--star-ai-radius);
    overflow: hidden;
    background: var(--star-ai-paper);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.06),
        0 24px 64px rgba(0, 0, 0, 0.22),
        0 0 80px rgba(229, 17, 34, 0.06);
    transform: translateY(16px) scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.4s var(--star-ai-ease),
        transform 0.45s var(--star-ai-ease);
    z-index: 10051;
}

.star-ai-chat-panel.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.star-ai-chat-panel::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--star-ai-red), transparent);
    z-index: 2;
}

/* Header */
.star-ai-chat-header {
    flex-shrink: 0;
    padding: 16px 18px;
    background:
        linear-gradient(165deg, var(--star-ai-graphite) 0%, var(--star-ai-ink) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.star-ai-chat-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
    pointer-events: none;
}

.star-ai-chat-header-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.star-ai-chat-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--star-ai-red) 0%, #ff4d5a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(229, 17, 34, 0.45);
    flex-shrink: 0;
}

.star-ai-chat-avatar i {
    font-size: 18px;
    color: #fff;
}

.star-ai-chat-header-text {
    flex: 1;
    min-width: 0;
}

.star-ai-chat-header-text h3 {
    margin: 0;
    font-family: Oxanium, "Noto Sans SC", sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.star-ai-chat-subtitle {
    margin: 4px 0 0;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    gap: 6px;
}

.star-ai-chat-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.8);
    animation: star-ai-pulse-dot 2s ease-in-out infinite;
}

@keyframes star-ai-pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.star-ai-chat-header-actions {
    display: flex;
    gap: 4px;
}

.star-ai-chat-header-actions button {
    width: 34px;
    height: 34px;
    border: 1px solid var(--star-ai-line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.star-ai-chat-header-actions button:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
}

.star-ai-chat-btn-clear {
    width: auto !important;
    padding: 0 10px;
    font-size: 12px;
    font-family: inherit;
}

/* Messages */
.star-ai-chat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(229, 17, 34, 0.04), transparent),
        var(--star-ai-paper);
}

.star-ai-chat-messages {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 16px 8px;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
    -webkit-overflow-scrolling: touch;
}

.star-ai-chat-msg.is-user {
    align-self: flex-end;
}

.star-ai-chat-msg.is-assistant {
    align-self: flex-start;
}

.star-ai-chat-msg-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 100%;
}

.star-ai-chat-msg.is-user .star-ai-chat-msg-inner {
    align-items: flex-end;
}

.star-ai-chat-msg.is-assistant .star-ai-chat-msg-inner {
    align-items: flex-start;
}

.star-ai-chat-messages::-webkit-scrollbar {
    width: 5px;
}

.star-ai-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

/* Empty / welcome */
.star-ai-chat-welcome {
    padding: 8px 4px 16px;
    animation: star-ai-fade-up 0.5s var(--star-ai-ease) both;
}

@keyframes star-ai-fade-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.star-ai-chat-welcome-card {
    background: #fff;
    border: 1px solid var(--star-ai-paper-2);
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.star-ai-chat-welcome-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--star-ai-red);
}

.star-ai-chat-welcome-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--star-ai-text);
}

.star-ai-chat-welcome-card strong {
    color: var(--star-ai-red);
    font-weight: 600;
}

.star-ai-chat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.star-ai-chat-chip {
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--star-ai-paper-2);
    background: #fff;
    color: var(--star-ai-text);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
    text-align: left;
    line-height: 1.35;
    font-family: inherit;
}

.star-ai-chat-chip:hover {
    border-color: rgba(229, 17, 34, 0.35);
    background: rgba(229, 17, 34, 0.04);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Message rows */
.star-ai-chat-msg {
    margin-bottom: 14px;
    max-width: 92%;
    animation: star-ai-msg-in 0.35s var(--star-ai-ease) both;
}

@keyframes star-ai-msg-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.star-ai-chat-bubble {
    max-width: 100%;
    padding: 11px 14px;
    font-size: 14px;
    line-height: 1.6;
    word-break: break-word;
    border-radius: 14px;
}

.star-ai-chat-msg.is-user .star-ai-chat-bubble {
    background: linear-gradient(135deg, var(--star-ai-red) 0%, var(--star-ai-red-deep) 100%);
    color: #fff;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 16px rgba(229, 17, 34, 0.25);
}

.star-ai-chat-bubble.is-hint,
.star-ai-chat-error-tip {
    background: linear-gradient(135deg, #fff8f8 0%, #fff 100%);
    border: 1px solid rgba(229, 17, 34, 0.12);
    border-radius: 14px;
    padding: 14px 16px;
    color: #4a5568;
    font-size: 14px;
    line-height: 1.55;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.star-ai-chat-error-tip i.fa {
    color: var(--star-ai-red);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.star-ai-chat-error-tip.is-soft {
    background: #f8f9fb;
    border-color: rgba(0, 0, 0, 0.06);
}

.star-ai-chat-error-tip.is-soft i.fa {
    color: #6b7280;
}

.star-ai-chat-msg.is-assistant .star-ai-chat-bubble {
    background: #fff;
    color: var(--star-ai-text);
    border: 1px solid var(--star-ai-paper-2);
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.star-ai-chat-bubble p {
    margin: 0 0 0.5em;
}

.star-ai-chat-bubble p:last-child {
    margin-bottom: 0;
}

.star-ai-chat-bubble ul,
.star-ai-chat-bubble ol {
    margin: 0.4em 0 0.4em 1.2em;
    padding: 0;
}

.star-ai-chat-bubble strong {
    color: inherit;
    font-weight: 600;
}

.star-ai-chat-msg.is-assistant .star-ai-chat-bubble strong {
    color: var(--star-ai-red-deep);
}

.star-ai-chat-copy {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--star-ai-muted);
    font-size: 11px;
    font-family: inherit;
    cursor: pointer;
    opacity: 0;
    transform: translateY(2px);
    transition: opacity 0.2s, color 0.2s, background 0.2s, transform 0.2s;
}

.star-ai-chat-msg-inner:hover .star-ai-chat-copy,
.star-ai-chat-msg-inner:focus-within .star-ai-chat-copy {
    opacity: 1;
    transform: translateY(0);
}

.star-ai-chat-copy:hover {
    color: var(--star-ai-red);
    background: rgba(229, 17, 34, 0.06);
}

.star-ai-chat-copy.is-copied {
    opacity: 1;
    color: #16a34a;
}

.star-ai-chat-copy i {
    font-size: 12px;
}

/* In-bubble thinking (left assistant row) */
.star-ai-chat-msg.is-pending .star-ai-chat-bubble {
    min-width: 140px;
    padding: 12px 16px;
}

.star-ai-chat-thinking {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--star-ai-muted);
    font-size: 13px;
    animation: star-ai-think-in 0.35s var(--star-ai-ease) both;
}

@keyframes star-ai-think-in {
    from { opacity: 0; transform: translateX(-6px); }
    to { opacity: 1; transform: translateX(0); }
}

.star-ai-chat-thinking-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}

.star-ai-chat-thinking-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--star-ai-red);
    animation: star-ai-bounce 1.2s ease-in-out infinite;
}

.star-ai-chat-thinking-dots span:nth-child(2) { animation-delay: 0.15s; }
.star-ai-chat-thinking-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes star-ai-bounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.35; }
    40% { transform: translateY(-5px); opacity: 1; }
}

/* Markdown (github-markdown-light scoped) */
.star-ai-chat-bubble .markdown-body {
    background: transparent !important;
    font-size: 13px;
    line-height: 1.65;
    color: var(--star-ai-text);
}

.star-ai-chat-bubble .markdown-body p {
    margin: 0 0 0.65em;
}

.star-ai-chat-bubble .markdown-body p:last-child {
    margin-bottom: 0;
}

.star-ai-chat-bubble .markdown-body ul,
.star-ai-chat-bubble .markdown-body ol {
    margin: 0.35em 0 0.65em;
    padding-left: 1.25em;
}

.star-ai-chat-bubble .markdown-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0.5em 0;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    cursor: zoom-in;
    transition: transform 0.2s var(--star-ai-ease);
}

.star-ai-chat-bubble .markdown-body img:hover {
    transform: scale(1.02);
}

.star-ai-chat-bubble .markdown-body pre {
    font-size: 12px;
    border-radius: 8px;
    overflow-x: auto;
}

.star-ai-chat-bubble .markdown-body code {
    font-size: 12px;
}

.star-ai-chat-stream-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    margin-left: 2px;
    vertical-align: text-bottom;
    background: var(--star-ai-red);
    animation: star-ai-cursor-blink 0.9s step-end infinite;
}

@keyframes star-ai-cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.star-ai-chat-msg.is-streaming .star-ai-chat-bubble {
    animation: star-ai-stream-glow 1.5s ease-in-out infinite;
}

@keyframes star-ai-stream-glow {
    0%, 100% { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); }
    50% { box-shadow: 0 2px 14px rgba(229, 17, 34, 0.08); }
}

/* Image lightbox */
.star-ai-chat-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10070;
    background: rgba(8, 10, 14, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--star-ai-ease);
}

.star-ai-chat-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.star-ai-chat-lightbox img {
    max-width: min(92vw, 960px);
    max-height: 88vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.star-ai-chat-lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.star-ai-chat-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Footer */
.star-ai-chat-footer {
    flex-shrink: 0;
    padding: 12px 14px calc(14px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid var(--star-ai-paper-2);
}

.star-ai-chat-input-shell {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    padding: 6px 6px 6px 14px;
    background: var(--star-ai-paper);
    border: 1px solid var(--star-ai-paper-2);
    border-radius: 14px;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.star-ai-chat-input-shell:focus-within {
    border-color: rgba(229, 17, 34, 0.35);
    box-shadow: 0 0 0 3px rgba(229, 17, 34, 0.08);
}

.star-ai-chat-input-row textarea {
    flex: 1;
    resize: none;
    min-height: 24px;
    max-height: 120px;
    padding: 10px 0;
    border: none;
    background: transparent;
    font-size: 14px;
    line-height: 1.45;
    outline: none;
    font-family: inherit;
    color: var(--star-ai-text);
}

.star-ai-chat-send {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 11px;
    background: linear-gradient(145deg, var(--star-ai-red), var(--star-ai-red-deep));
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, opacity 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(229, 17, 34, 0.3);
}

.star-ai-chat-send:hover:not(:disabled) {
    transform: scale(1.05);
}

.star-ai-chat-send:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.star-ai-chat-hint {
    font-size: 10px;
    color: var(--star-ai-muted);
    margin: 8px 4px 0;
    text-align: center;
    letter-spacing: 0.02em;
}

/* Toast */
.star-ai-chat-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: var(--star-ai-ink);
    color: #fff;
    font-size: 13px;
    padding: 10px 18px;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s var(--star-ai-ease);
    z-index: 10060;
    max-width: 90vw;
    text-align: center;
}

.star-ai-chat-toast.is-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (hover: none) {
    .star-ai-chat-copy {
        opacity: 1;
        transform: none;
        min-height: 32px;
        padding: 6px 12px;
    }
}

@media (max-width: 520px) {
    .star-ai-chat-fab-wrap {
        right: 12px;
        bottom: calc(100px + env(safe-area-inset-bottom, 0px));
    }

    .star-ai-chat-fab-label {
        display: none;
    }

    .star-ai-chat-panel {
        right: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        height: min(85dvh, calc(100dvh - env(safe-area-inset-top, 0px)));
        max-height: none;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
    }

    .star-ai-chat-panel.is-open {
        transform: translateY(0);
    }

    .star-ai-chat-root.is-open .star-ai-chat-fab-wrap {
        opacity: 0;
        pointer-events: none;
        transform: translateY(20px);
        transition: opacity 0.25s, transform 0.25s;
    }

    .star-ai-chat-messages {
        padding: 12px 12px 8px;
    }

    .star-ai-chat-msg {
        max-width: 94%;
    }

    .star-ai-chat-header {
        padding: 14px 14px;
    }

    .star-ai-chat-input-row textarea {
        font-size: 16px;
    }

    .star-ai-chat-send {
        width: 44px;
        height: 44px;
    }

    .star-ai-chat-toast {
        bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }

    .star-ai-chat-lightbox {
        padding: env(safe-area-inset-top, 12px) 12px env(safe-area-inset-bottom, 12px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .star-ai-chat-fab::before,
    .star-ai-chat-status-dot,
    .star-ai-chat-thinking-dots span,
    .star-ai-chat-stream-cursor {
        animation: none;
    }

    .star-ai-chat-panel,
    .star-ai-chat-fab,
    .star-ai-chat-msg {
        transition-duration: 0.01ms;
        animation: none;
    }
}
