/* Autofliper Dark — Better Messages (/messages/) dark palette.
   Better Messages ships its own dark mode: body.bm-messages-dark swaps a
   full set of --bm-color-* variables (RGB triples). Its default dark
   palette is slate-blue, so the values below are the plugin's own dark
   block with every slate/blue value remapped to this site's neutral dark
   tokens (--af-surface #17171A, --af-surface-2 #1F1F23, --af-line #2A2A2F,
   ink #F1F1F3, accent #E5524E; own bubbles use brand #B32726 so white text
   keeps 7:1). bm-theme-sync.js is what puts body.bm-messages-dark on when
   the site theme is dark. Status colors (success/warning/danger) kept.
   Selector is html.af-dark body.bm-messages-dark so it beats the plugin's
   own body.bm-messages-dark rule and any admin inline color settings. */
html.af-dark body.bm-messages-dark {
    --bm-color-bg: 23,23,26;
    --bm-color-bg-secondary: 31,31,35;
    --bm-color-bg-elevated: 31,31,35;
    --bm-color-bg-hover: 38,38,44;
    --bm-color-bg-active: 42,42,47;
    --bm-color-toast-bg: 241,241,243;
    --bm-color-toast-text: 31,31,35;
    --bm-color-text-primary: 241,241,243;
    --bm-color-text-secondary: 190,190,196;
    --bm-color-text-tertiary: 155,155,161;
    --bm-color-text-disabled: 100,100,106;
    --bm-color-text-link: 241,241,243;
    --bm-color-border: 42,42,47;
    --bm-color-border-strong: 70,70,78;
    --bm-color-border-subtle: 42,42,47;
    --bm-color-accent-subtle: 60,26,26;
    --bm-color-bubble-other-bg: 42,42,47;
    --bm-color-bubble-other-text: 241,241,243;
    --bm-color-bubble-other-nickname: 190,190,196;
    --bm-color-bubble-other-link: 241,241,243;
    --bm-color-bubble-other-outline: 42,42,47;
    --bm-color-bubble-self-bg: 179,39,38;
    --bm-color-bubble-self-nickname: 190,190,196;
    --bm-color-bubble-self-outline: 179,39,38;
    --bm-color-bubble-button-bg: 31,31,35;
    --bm-color-bubble-button-icon: 241,241,243;
    --bm-color-bubble-button-border: 42,42,47;
    --bm-color-mention-bg: 55,55,62;
    --bm-color-sticky-date-bg: 31,31,35;
    --bm-color-sticky-date-text: 241,241,243;
    --bm-color-accent: 229,82,78;
    --bm-color-accent-hover: 215,68,64;
    --bm-color-accent-pressed: 179,39,38;
    --bm-color-text-on-accent: 255,255,255;
    --bm-color-card-bg: 23,23,26;
    --bm-color-card-border: 42,42,47;
    --bm-color-inbox-bg: 31,31,35;
    --bm-color-inbox-text: 241,241,243;
    --bm-color-inbox-border: 42,42,47;
    --bm-color-inbox-field: 23,23,26;
    --bm-color-inbox-accent: 229,82,78;
    --bm-color-inbox-muted: 155,155,161;
    --bm-color-inbox-preview: 155,155,161;
    --bm-color-inbox-icon: 155,155,161;
    --bm-color-list-bg: 23,23,26;
    --bm-color-list-text: 241,241,243;
    --bm-color-list-border: 42,42,47;
    --bm-color-list-field: 23,23,26;
    --bm-color-list-accent: 229,82,78;
    --bm-color-list-muted: 155,155,161;
    --bm-color-list-preview: 155,155,161;
    --bm-color-list-icon: 155,155,161;
    --bm-color-icon: 155,155,161;
    --bm-color-preview: 155,155,161;
    --bm-color-preview-unread: 190,190,196;
    --bm-color-field-text-fallback: 241,241,243;
    --bm-color-field-text: 241,241,243;
    --bm-color-field-placeholder: 155,155,161;
    --bm-color-header-bg: 23,23,26;
    --bm-color-header-text: 241,241,243;
    --bm-color-header-muted: 155,155,161;
    --bm-color-header-border: 42,42,47;
    --bm-color-reply-bg: 23,23,26;
    --bm-color-reply-text: 241,241,243;
    --bm-color-reply-muted: 155,155,161;
    --bm-color-reply-border: 42,42,47;
    --bm-color-reply-accent: 229,82,78;
    --bm-color-mc-head-bg: 23,23,26;
    --bm-color-mc-head-text: 241,241,243;
    --bm-color-mc-head-muted: 155,155,161;
    --bm-color-mc-head-border: 42,42,47;
    --bm-color-mc-bg: 23,23,26;
    --bm-color-mc-text: 241,241,243;
    --bm-color-mc-muted: 155,155,161;
    --bm-color-mc-border: 42,42,47;
    --bm-color-mc-self-bg: 179,39,38;
    --bm-color-mc-self-name: 190,190,196;
    --bm-color-mc-other-bg: 42,42,47;
    --bm-color-mc-other-text: 241,241,243;
    --bm-color-mc-other-name: 190,190,196;
    --bm-color-mc-reply-bg: 23,23,26;
    --bm-color-mc-reply-text: 241,241,243;
    --bm-color-mc-reply-muted: 155,155,161;
    --bm-color-mc-reply-border: 42,42,47;
    --bm-color-mc-reply-accent: 229,82,78;
    --bm-color-dock-bg: 23,23,26;
    --bm-color-dock-text: 241,241,243;
    --bm-color-dock-muted: 155,155,161;
    --bm-color-dock-border: 42,42,47;
    --bm-color-dock-accent: 229,82,78;
    --bm-color-wlist-bg: 23,23,26;
    --bm-color-wlist-text: 241,241,243;
    --bm-color-wlist-preview: 155,155,161;
    --bm-color-wlist-muted: 155,155,161;
    --bm-color-wlist-icon: 155,155,161;
    --bm-color-wlist-border: 42,42,47;
    --bm-color-wlist-field: 23,23,26;
    --bm-color-wlist-accent: 229,82,78;
    --bm-color-mob-head-bg: 23,23,26;
    --bm-color-mob-head-text: 241,241,243;
    --bm-color-mob-head-muted: 155,155,161;
    --bm-color-mob-head-border: 42,42,47;
    --bm-color-mob-bg: 23,23,26;
    --bm-color-mob-text: 241,241,243;
    --bm-color-mob-muted: 155,155,161;
    --bm-color-mob-border: 42,42,47;
    --bm-color-mob-self-bg: 179,39,38;
    --bm-color-mob-self-name: 190,190,196;
    --bm-color-mob-other-bg: 42,42,47;
    --bm-color-mob-other-text: 241,241,243;
    --bm-color-mob-other-name: 190,190,196;
    --bm-color-mob-reply-bg: 23,23,26;
    --bm-color-mob-reply-text: 241,241,243;
    --bm-color-mob-reply-muted: 155,155,161;
    --bm-color-mob-reply-border: 42,42,47;
    --bm-color-mob-reply-accent: 229,82,78;
    --bm-color-mob-list-bg: 23,23,26;
    --bm-color-mob-list-text: 241,241,243;
    --bm-color-mob-list-preview: 155,155,161;
    --bm-color-mob-list-muted: 155,155,161;
    --bm-color-mob-list-icon: 155,155,161;
    --bm-color-mob-list-border: 42,42,47;
    --bm-color-mob-list-field: 23,23,26;
    --bm-color-mob-list-accent: 229,82,78;
    --bm-color-mob-tabs-bg: 23,23,26;
    --bm-color-mob-tabs-icon: 155,155,161;
    --bm-color-mob-tabs-border: 42,42,47;
    --bm-color-mob-tabs-accent: 229,82,78;
    --bm-color-surface: 23,23,26;
    --bm-color-chat-bg: 23,23,26;
    --bm-color-composer-bg: 23,23,26;
    --bm-color-offline: 155,155,161;
}
