/* ==========================================================================
   Chat da Mesa · 01a TINTAS (gerado por _assets/gerar_tintas.py, não editar à mão)
   Texto colorido do HTML das mensagens, trocado por tintas que passam de 4.5:1
   sobre o pergaminho. Roxo e rosa -> vermelho-sangue; cinza e branco -> tinta
   secundária; o resto escurece mantendo a cor. :where() zera a especificidade
   do atributo, então o 02-mensagens (nome do personagem, **destaque**, negrito,
   entrou/saiu) continua mandando onde já decidia.
   ========================================================================== */

/* #9c27b0, #b388ff, #ba68c8, #c084fc, #ce93d8, #e1bee7, #e91e63, #ea80fc, #f8bbd0, #ff1744 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#9c27b0" i], [style*="color: #9c27b0" i], [style*="color:#b388ff" i], [style*="color: #b388ff" i], [style*="color:#ba68c8" i], [style*="color: #ba68c8" i], [style*="color:#c084fc" i], [style*="color: #c084fc" i], [style*="color:#ce93d8" i], [style*="color: #ce93d8" i], [style*="color:#e1bee7" i], [style*="color: #e1bee7" i], [style*="color:#e91e63" i], [style*="color: #e91e63" i], [style*="color:#ea80fc" i], [style*="color: #ea80fc" i], [style*="color:#f8bbd0" i], [style*="color: #f8bbd0" i], [style*="color:#ff1744" i], [style*="color: #ff1744" i]),
#global-chat .chat-msg:where([style*="color:#9c27b0" i], [style*="color: #9c27b0" i], [style*="color:#b388ff" i], [style*="color: #b388ff" i], [style*="color:#ba68c8" i], [style*="color: #ba68c8" i], [style*="color:#c084fc" i], [style*="color: #c084fc" i], [style*="color:#ce93d8" i], [style*="color: #ce93d8" i], [style*="color:#e1bee7" i], [style*="color: #e1bee7" i], [style*="color:#e91e63" i], [style*="color: #e91e63" i], [style*="color:#ea80fc" i], [style*="color: #ea80fc" i], [style*="color:#f8bbd0" i], [style*="color: #f8bbd0" i], [style*="color:#ff1744" i], [style*="color: #ff1744" i]) { color: var(--nome) !important; }

/* #555555, #666666, #777777, #888888, #9ca3af, #9e9e9e, #aaaaaa, #bbbbbb, #c0c0c0, #cccccc, #dddddd, #e0e0e0, #e5e4e2, #eeeeee, #ffffff */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#555555" i], [style*="color: #555555" i], [style*="color:#555" i], [style*="color: #555" i], [style*="color:#666666" i], [style*="color: #666666" i], [style*="color:#666" i], [style*="color: #666" i], [style*="color:#777777" i], [style*="color: #777777" i], [style*="color:#777" i], [style*="color: #777" i], [style*="color:#888888" i], [style*="color: #888888" i], [style*="color:#888" i], [style*="color: #888" i], [style*="color:#9ca3af" i], [style*="color: #9ca3af" i], [style*="color:#9e9e9e" i], [style*="color: #9e9e9e" i], [style*="color:#aaaaaa" i], [style*="color: #aaaaaa" i], [style*="color:#aaa" i], [style*="color: #aaa" i], [style*="color:#bbbbbb" i], [style*="color: #bbbbbb" i], [style*="color:#bbb" i], [style*="color: #bbb" i], [style*="color:#c0c0c0" i], [style*="color: #c0c0c0" i], [style*="color:#cccccc" i], [style*="color: #cccccc" i], [style*="color:#ccc" i], [style*="color: #ccc" i], [style*="color:#dddddd" i], [style*="color: #dddddd" i], [style*="color:#ddd" i], [style*="color: #ddd" i], [style*="color:#e0e0e0" i], [style*="color: #e0e0e0" i], [style*="color:#e5e4e2" i], [style*="color: #e5e4e2" i], [style*="color:#eeeeee" i], [style*="color: #eeeeee" i], [style*="color:#eee" i], [style*="color: #eee" i], [style*="color:#ffffff" i], [style*="color: #ffffff" i], [style*="color:#fff" i], [style*="color: #fff" i], [style*="color:white" i], [style*="color: white" i]),
#global-chat .chat-msg:where([style*="color:#555555" i], [style*="color: #555555" i], [style*="color:#555" i], [style*="color: #555" i], [style*="color:#666666" i], [style*="color: #666666" i], [style*="color:#666" i], [style*="color: #666" i], [style*="color:#777777" i], [style*="color: #777777" i], [style*="color:#777" i], [style*="color: #777" i], [style*="color:#888888" i], [style*="color: #888888" i], [style*="color:#888" i], [style*="color: #888" i], [style*="color:#9ca3af" i], [style*="color: #9ca3af" i], [style*="color:#9e9e9e" i], [style*="color: #9e9e9e" i], [style*="color:#aaaaaa" i], [style*="color: #aaaaaa" i], [style*="color:#aaa" i], [style*="color: #aaa" i], [style*="color:#bbbbbb" i], [style*="color: #bbbbbb" i], [style*="color:#bbb" i], [style*="color: #bbb" i], [style*="color:#c0c0c0" i], [style*="color: #c0c0c0" i], [style*="color:#cccccc" i], [style*="color: #cccccc" i], [style*="color:#ccc" i], [style*="color: #ccc" i], [style*="color:#dddddd" i], [style*="color: #dddddd" i], [style*="color:#ddd" i], [style*="color: #ddd" i], [style*="color:#e0e0e0" i], [style*="color: #e0e0e0" i], [style*="color:#e5e4e2" i], [style*="color: #e5e4e2" i], [style*="color:#eeeeee" i], [style*="color: #eeeeee" i], [style*="color:#eee" i], [style*="color: #eee" i], [style*="color:#ffffff" i], [style*="color: #ffffff" i], [style*="color:#fff" i], [style*="color: #fff" i], [style*="color:white" i], [style*="color: white" i]) { color: var(--tinta-2) !important; }

/* #03a9f4 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#03a9f4" i], [style*="color: #03a9f4" i]),
#global-chat .chat-msg:where([style*="color:#03a9f4" i], [style*="color: #03a9f4" i]) { color: #004463 !important; }

/* #00e5ff */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#00e5ff" i], [style*="color: #00e5ff" i]),
#global-chat .chat-msg:where([style*="color:#00e5ff" i], [style*="color: #00e5ff" i]) { color: #00454c !important; }

/* #00bcd4 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#00bcd4" i], [style*="color: #00bcd4" i]),
#global-chat .chat-msg:where([style*="color:#00bcd4" i], [style*="color: #00bcd4" i]) { color: #00464f !important; }

/* #84ffff */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#84ffff" i], [style*="color: #84ffff" i]),
#global-chat .chat-msg:where([style*="color:#84ffff" i], [style*="color: #84ffff" i]) { color: #004747 !important; }

/* #00e676 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#00e676" i], [style*="color: #00e676" i]),
#global-chat .chat-msg:where([style*="color:#00e676" i], [style*="color: #00e676" i]) { color: #004825 !important; }

/* #00f0ff */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#00f0ff" i], [style*="color: #00f0ff" i]),
#global-chat .chat-msg:where([style*="color:#00f0ff" i], [style*="color: #00f0ff" i]) { color: #00484c !important; }

/* #4fc3f7 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#4fc3f7" i], [style*="color: #4fc3f7" i]),
#global-chat .chat-msg:where([style*="color:#4fc3f7" i], [style*="color: #4fc3f7" i]) { color: #024564 !important; }

/* #81d4fa */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#81d4fa" i], [style*="color: #81d4fa" i]),
#global-chat .chat-msg:where([style*="color:#81d4fa" i], [style*="color: #81d4fa" i]) { color: #024666 !important; }

/* #2196f3 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#2196f3" i], [style*="color: #2196f3" i]),
#global-chat .chat-msg:where([style*="color:#2196f3" i], [style*="color: #2196f3" i]) { color: #034172 !important; }

/* #64b5f6 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#64b5f6" i], [style*="color: #64b5f6" i]),
#global-chat .chat-msg:where([style*="color:#64b5f6" i], [style*="color: #64b5f6" i]) { color: #044376 !important; }

/* #e3f2fd */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#e3f2fd" i], [style*="color: #e3f2fd" i]),
#global-chat .chat-msg:where([style*="color:#e3f2fd" i], [style*="color: #e3f2fd" i]) { color: #054371 !important; }

/* #10b981 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#10b981" i], [style*="color: #10b981" i]),
#global-chat .chat-msg:where([style*="color:#10b981" i], [style*="color: #10b981" i]) { color: #054a33 !important; }

/* #e0f7fa */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#e0f7fa" i], [style*="color: #e0f7fa" i]),
#global-chat .chat-msg:where([style*="color:#e0f7fa" i], [style*="color: #e0f7fa" i]) { color: #0b4850 !important; }

/* #80cbc4 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#80cbc4" i], [style*="color: #80cbc4" i]),
#global-chat .chat-msg:where([style*="color:#80cbc4" i], [style*="color: #80cbc4" i]) { color: #1b4541 !important; }

/* #b2dfdb */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#b2dfdb" i], [style*="color: #b2dfdb" i]),
#global-chat .chat-msg:where([style*="color:#b2dfdb" i], [style*="color: #b2dfdb" i]) { color: #1c4844 !important; }

/* #4caf50 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#4caf50" i], [style*="color: #4caf50" i]),
#global-chat .chat-msg:where([style*="color:#4caf50" i], [style*="color: #4caf50" i]) { color: #1e4920 !important; }

/* #81c784 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#81c784" i], [style*="color: #81c784" i]),
#global-chat .chat-msg:where([style*="color:#81c784" i], [style*="color: #81c784" i]) { color: #1f4921 !important; }

/* #e8f5e9 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#e8f5e9" i], [style*="color: #e8f5e9" i]),
#global-chat .chat-msg:where([style*="color:#e8f5e9" i], [style*="color: #e8f5e9" i]) { color: #1f4a22 !important; }

/* #e2e8f0 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#e2e8f0" i], [style*="color: #e2e8f0" i]),
#global-chat .chat-msg:where([style*="color:#e2e8f0" i], [style*="color: #e2e8f0" i]) { color: #2e425d !important; }

/* #b0bec5 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#b0bec5" i], [style*="color: #b0bec5" i]),
#global-chat .chat-msg:where([style*="color:#b0bec5" i], [style*="color: #b0bec5" i]) { color: #344147 !important; }

/* #ffeb3b */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#ffeb3b" i], [style*="color: #ffeb3b" i]),
#global-chat .chat-msg:where([style*="color:#ffeb3b" i], [style*="color: #ffeb3b" i]) { color: #453e00 !important; }

/* #9a8b72 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#9a8b72" i], [style*="color: #9a8b72" i]),
#global-chat .chat-msg:where([style*="color:#9a8b72" i], [style*="color: #9a8b72" i]) { color: #463f32 !important; }

/* #a69b85 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#a69b85" i], [style*="color: #a69b85" i]),
#global-chat .chat-msg:where([style*="color:#a69b85" i], [style*="color: #a69b85" i]) { color: #464032 !important; }

/* #e0d8c8 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#e0d8c8" i], [style*="color: #e0d8c8" i]),
#global-chat .chat-msg:where([style*="color:#e0d8c8" i], [style*="color: #e0d8c8" i]) { color: #493e28 !important; }

/* #88785e */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#88785e" i], [style*="color: #88785e" i]),
#global-chat .chat-msg:where([style*="color:#88785e" i], [style*="color: #88785e" i]) { color: #494032 !important; }

/* #ffd700 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#ffd700" i], [style*="color: #ffd700" i], [style*="color:gold" i], [style*="color: gold" i]),
#global-chat .chat-msg:where([style*="color:#ffd700" i], [style*="color: #ffd700" i], [style*="color:gold" i], [style*="color: gold" i]) { color: #4c4000 !important; }

/* #b7a27a */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#b7a27a" i], [style*="color: #b7a27a" i]),
#global-chat .chat-msg:where([style*="color:#b7a27a" i], [style*="color: #b7a27a" i]) { color: #4c4028 !important; }

/* #f3e6c4 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#f3e6c4" i], [style*="color: #f3e6c4" i]),
#global-chat .chat-msg:where([style*="color:#f3e6c4" i], [style*="color: #f3e6c4" i]) { color: #4e3c0e !important; }

/* #8d6e63 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#8d6e63" i], [style*="color: #8d6e63" i]),
#global-chat .chat-msg:where([style*="color:#8d6e63" i], [style*="color: #8d6e63" i]) { color: #4f3d36 !important; }

/* #d4af37 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#d4af37" i], [style*="color: #d4af37" i]),
#global-chat .chat-msg:where([style*="color:#d4af37" i], [style*="color: #d4af37" i]) { color: #4f400f !important; }

/* #ffca28 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#ffca28" i], [style*="color: #ffca28" i]),
#global-chat .chat-msg:where([style*="color:#ffca28" i], [style*="color: #ffca28" i]) { color: #513d00 !important; }

/* #e0c48a */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#e0c48a" i], [style*="color: #e0c48a" i]),
#global-chat .chat-msg:where([style*="color:#e0c48a" i], [style*="color: #e0c48a" i]) { color: #523e14 !important; }

/* #fff8e1 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#fff8e1" i], [style*="color: #fff8e1" i]),
#global-chat .chat-msg:where([style*="color:#fff8e1" i], [style*="color: #fff8e1" i]) { color: #523f00 !important; }

/* #fbbf24 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#fbbf24" i], [style*="color: #fbbf24" i]),
#global-chat .chat-msg:where([style*="color:#fbbf24" i], [style*="color: #fbbf24" i]) { color: #533c00 !important; }

/* #ff9800 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#ff9800" i], [style*="color: #ff9800" i]),
#global-chat .chat-msg:where([style*="color:#ff9800" i], [style*="color: #ff9800" i]) { color: #5c3700 !important; }

/* #cd7f32 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#cd7f32" i], [style*="color: #cd7f32" i]),
#global-chat .chat-msg:where([style*="color:#cd7f32" i], [style*="color: #cd7f32" i]) { color: #5c3814 !important; }

/* #ff9100 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#ff9100" i], [style*="color: #ff9100" i]),
#global-chat .chat-msg:where([style*="color:#ff9100" i], [style*="color: #ff9100" i]) { color: #613700 !important; }

/* #e57373 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#e57373" i], [style*="color: #e57373" i]),
#global-chat .chat-msg:where([style*="color:#e57373" i], [style*="color: #e57373" i]) { color: #811515 !important; }

/* #f44336 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#f44336" i], [style*="color: #f44336" i]),
#global-chat .chat-msg:where([style*="color:#f44336" i], [style*="color: #f44336" i]) { color: #830d04 !important; }

/* #ef9a9a */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#ef9a9a" i], [style*="color: #ef9a9a" i]),
#global-chat .chat-msg:where([style*="color:#ef9a9a" i], [style*="color: #ef9a9a" i]) { color: #831212 !important; }

/* #ff5252 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#ff5252" i], [style*="color: #ff5252" i]),
#global-chat .chat-msg:where([style*="color:#ff5252" i], [style*="color: #ff5252" i]) { color: #850000 !important; }

/* #ff8a80 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#ff8a80" i], [style*="color: #ff8a80" i]),
#global-chat .chat-msg:where([style*="color:#ff8a80" i], [style*="color: #ff8a80" i]) { color: #850a00 !important; }

/* #ffcdd2 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#ffcdd2" i], [style*="color: #ffcdd2" i]),
#global-chat .chat-msg:where([style*="color:#ffcdd2" i], [style*="color: #ffcdd2" i]) { color: #86000d !important; }

/* #ef4444 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#ef4444" i], [style*="color: #ef4444" i]),
#global-chat .chat-msg:where([style*="color:#ef4444" i], [style*="color: #ef4444" i]) { color: #870808 !important; }

/* #d50000 */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="color:#d50000" i], [style*="color: #d50000" i]),
#global-chat .chat-msg:where([style*="color:#d50000" i], [style*="color: #d50000" i]) { color: #880000 !important; }

/* brilho de neon (text-shadow colorido) borra a letra no papel */
:is(#global-chat .chat-msg, #pinned-messages-container .pinned-msg) :where([style*="text-shadow"]),
#global-chat .chat-msg:where([style*="text-shadow"]) { text-shadow: none !important; }
