/* Overrides for other plugins' front-end blocks that ignore AeroCore's dark mode.
   Scoped to html[data-theme="dark"], so light mode keeps each plugin's own look. */

/* wp-opt AI 摘要: colours come from variables on #wpopt-ai-summary (light values hard-coded) */
html[data-theme="dark"] #wpopt-ai-summary {
    --main-bg-color: var(--bg-secondary, #222);
    --summary-bg-color: var(--bg-card, #2a2a2a);
    --text-color: var(--text-primary, #e8e8e8);
    --sub-text-color: var(--text-tertiary, #888);
    color: var(--text-primary, #e8e8e8);
}

html[data-theme="dark"] #wpopt-ai-summary .wpopt-bot-avatar {
    background: var(--bg-card, #2a2a2a);
}
