/* Theme-only overrides. No geometry, positioning or application state belongs here. */
.ff-theme-footer{display:flex;justify-content:flex-end;gap:9px;margin-top:18px;padding-top:16px;border-top:1px solid #ffffff14}.ff-theme-footer button{min-width:120px;height:46px;padding:0 16px;border:1px solid #ffffff16;border-radius:13px;background:#ffffff08;color:inherit;font-weight:800;cursor:pointer}.ff-theme-footer [data-theme-confirm]{border-color:transparent;background:#f4ce55;color:#1d1609}

html[data-ff-theme="light"]{color-scheme:light;--bg:#f4f0f5!important;--surface:#fff!important;--surface-2:#eee8f0!important;--text:#251d28!important;--muted:#756a78!important;--line:#d9d0dc!important;--primary:#8d4774!important}
html[data-ff-theme="light"] body,html[data-ff-theme="light"] .app,html[data-ff-theme="light"] .app__shell,html[data-ff-theme="light"] .screen{background:#f4f0f5!important;color:#251d28!important}
html[data-ff-theme="light"] body.ff-desktop-mode #ff-desktop-left,html[data-ff-theme="light"] body.ff-desktop-mode .ff-desk-list{background:#f1ebf2!important;color:#251d28!important;border-color:#d8ceda!important}
html[data-ff-theme="light"] body.ff-desktop-mode .ff-desk-rail{background:#e9e1eb!important;border-color:#d8ceda!important}
html[data-ff-theme="light"] body.ff-desktop-mode #ff-desktop-right{background:#f7f4f8!important;color:#251d28!important;border-color:#d8ceda!important}
html[data-ff-theme="light"] .header,html[data-ff-theme="light"] .composer{background:#fff!important;color:#251d28!important;border-color:#d8ceda!important;box-shadow:none!important}
html[data-ff-theme="light"] .chat{background:linear-gradient(145deg,#fbf9fc,#f1ebf3)!important;color:#251d28!important}
html[data-ff-theme="light"] .bubble,html[data-ff-theme="light"] .bubble--mine{color:#251d28!important;border-color:#d9d0dc!important}
html[data-ff-theme="light"] .msg-text,html[data-ff-theme="light"] .header__title,html[data-ff-theme="light"] .row__name,html[data-ff-theme="light"] .ff-desk-brand b,html[data-ff-theme="light"] .ff-desk-chat b,html[data-ff-theme="light"] #ff-desktop-right h3,html[data-ff-theme="light"] #ff-desktop-right b{color:#251d28!important}
html[data-ff-theme="light"] .header__subtitle,html[data-ff-theme="light"] .row__preview,html[data-ff-theme="light"] .bubble__time,html[data-ff-theme="light"] .ff-read-details,html[data-ff-theme="light"] .ff-desk-chat small,html[data-ff-theme="light"] #ff-desktop-right small,html[data-ff-theme="light"] #ff-desktop-right p{color:#756a78!important}
html[data-ff-theme="light"] .row,html[data-ff-theme="light"] .ff-desk-chat{background:transparent!important;color:#251d28!important;border-color:transparent!important}
html[data-ff-theme="light"] .row:hover,html[data-ff-theme="light"] .ff-desk-chat:hover{background:#e7dde9!important}
html[data-ff-theme="light"] .ff-desk-chat.active{background:#e3d4e1!important;border-color:#8d4774!important}
html[data-ff-theme="light"] .ff-desk-filters,html[data-ff-theme="light"] .ff-desk-search,html[data-ff-theme="light"] .composer__input,html[data-ff-theme="light"] .input{background:#fff!important;color:#251d28!important;border-color:#d5cad7!important}
html[data-ff-theme="light"] .ff-desk-filters button{color:#756a78!important}html[data-ff-theme="light"] .ff-desk-filters button.active{background:#e7dde9!important;color:#6f355c!important}
html[data-ff-theme="light"] #ff-desktop-right section{background:#fff!important;color:#251d28!important;border-color:#ddd3df!important;box-shadow:0 10px 30px #59465a12!important}
html[data-ff-theme="light"] #ff-desktop-right button{color:#4e4051!important;border-color:#ddd3df!important}
html[data-ff-theme="light"] .reaction{background:#e8e3ec!important;color:#251d28!important;border-color:#d3cad8!important}
html[data-ff-theme="light"] .ff-discord-actions,html[data-ff-theme="light"] .ff-reply-composer,html[data-ff-theme="light"] .ff-action-dialog,html[data-ff-theme="light"] #ff-theme-settings>div{background:#fff!important;color:#251d28!important;border-color:#d8ceda!important}
html[data-ff-theme="light"] .ff-discord-actions button,html[data-ff-theme="light"] .ff-theme-grid>button{color:#251d28!important;border-color:#ddd3df!important;background:#f7f3f8!important}
html[data-ff-theme="light"] #ff-theme-settings p,html[data-ff-theme="light"] .ff-theme-grid small{color:#756a78!important}
html[data-ff-theme="light"] .ff-theme-footer{border-color:#ddd3df}.ff-theme-footer [data-theme-confirm]{background:#f4ce55!important;color:#1d1609!important}

html[data-ff-theme="violet"] body,html[data-ff-theme="violet"] .app,html[data-ff-theme="violet"] .app__shell,html[data-ff-theme="violet"] .screen{background:#100b1d!important;color:#f2eaff!important}
html[data-ff-theme="violet"] #ff-desktop-left,html[data-ff-theme="violet"] #ff-desktop-right,html[data-ff-theme="violet"] .header,html[data-ff-theme="violet"] .composer{background:#180f27!important;border-color:#3d2954!important}
html[data-ff-theme="violet"] .ff-desk-list,html[data-ff-theme="violet"] #ff-desktop-right section{background:#211331!important;border-color:#3d2954!important}
html[data-ff-theme="violet"] .chat{background:radial-gradient(circle at 15% 0,#7139a826,transparent 38%),#0e0918!important}
html[data-ff-theme="violet"] .ff-desk-chat.active{background:#3a2052!important;border-color:#b991ff!important}
html[data-ff-theme="violet"] .bubble__name,html[data-ff-theme="violet"] .ff-reply-composer b{color:#c4a2ff!important}

html[data-ff-theme="ocean"] body,html[data-ff-theme="ocean"] .app,html[data-ff-theme="ocean"] .app__shell,html[data-ff-theme="ocean"] .screen{background:#07151c!important;color:#e7fbf8!important}
html[data-ff-theme="ocean"] #ff-desktop-left,html[data-ff-theme="ocean"] #ff-desktop-right,html[data-ff-theme="ocean"] .header,html[data-ff-theme="ocean"] .composer{background:#091c24!important;border-color:#17414b!important}
html[data-ff-theme="ocean"] .ff-desk-list,html[data-ff-theme="ocean"] #ff-desktop-right section{background:#0d2530!important;border-color:#17414b!important}
html[data-ff-theme="ocean"] .chat{background:radial-gradient(circle at 15% 0,#2caeaa24,transparent 38%),#061218!important}
html[data-ff-theme="ocean"] .ff-desk-chat.active{background:#123b45!important;border-color:#4dd6c5!important}
html[data-ff-theme="ocean"] .bubble__name,html[data-ff-theme="ocean"] .ff-reply-composer b{color:#62dfd0!important}

@media(max-width:560px){.ff-theme-footer{display:grid;grid-template-columns:1fr 1fr}.ff-theme-footer button{min-width:0}}
