/* QG+ — Ambiance « Noir » (28/10/2026) : fond noir pur, aucun fond animé. Voir qg-noir.js. */
#hermes-signature#hermes-signature[data-noir] { background: #000 !important; --nx-bg: #000; }
#hermes-signature#hermes-signature[data-noir] :is(.nx-bg, .nx-fx, .nx-top, .nx-glitch, .nx-cursor, .nx-motion, .nx-dockbeam, .nx-navbeam, .nx-eclats, .nx-wave) { display: none !important; }
#hermes-signature#hermes-signature[data-noir]::before, #hermes-signature#hermes-signature[data-noir]::after { background: none !important; animation: none !important; }
#hermes-signature#hermes-signature[data-noir] :is(#hs-stage, .hs-stage, .hs-conversations:not(.qg-garde), .hs-rail, .hs-chat:not(.qg-chat-garde), #hs-feed, .hs-top, .hs-bottom, #hs-route) { background: #000 !important; background-image: none !important; }
/* une conversation gardée en place (masquée) ne doit jamais peindre de fond par-dessus celle qu'on lit */
#hermes-signature#hermes-signature[data-noir] .hs-conversations > section.qg-chat-garde { background: transparent !important; }
#hermes-signature#hermes-signature[data-noir] :is(#hs-stage, .hs-rail, .hs-chat, #hs-feed)::before,
#hermes-signature#hermes-signature[data-noir] :is(#hs-stage, .hs-rail, .hs-chat, #hs-feed)::after { background-image: none !important; animation: none !important; }
html:has(#hermes-signature[data-noir]), html:has(#hermes-signature[data-noir]) body { background: #000 !important; }

/* la page Échanges gardée en place pendant qu'on est sur Tâches, Drive… ne doit pas recouvrir la page affichée */
#hermes-signature#hermes-signature[data-noir] #hs-stage > .hs-conversations.qg-garde, #hermes-signature#hermes-signature[data-noir] #hs-stage > .hs-conversations.qg-garde * { background: transparent !important; }
