/* Chat over the world (chat.js): plain lines above the ticker, the sender's name in their
   colour. Lines dim after a while and fade out; lines to you stay white. No boxes. */
#chat { margin-bottom: 8px; }
#chat li { line-height: 1.6; color: var(--muted); overflow-wrap: anywhere; -webkit-user-select: text; user-select: text; transition: opacity 1.5s; }
#chat li.dim { opacity: 0.55; }
#chat li.gone { opacity: 0; }
#chat li.to-me { color: var(--text); }
#chat.open li { opacity: 1; }
#chat-line { display: flex; align-items: baseline; gap: 6px; margin-bottom: 8px; }
#chat-to { color: var(--dim); white-space: nowrap; }
#chat-input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; padding: 0; margin: 0; color: var(--text); text-shadow: inherit; caret-color: var(--text); }
#chat-input::placeholder { color: var(--bad); opacity: 1; }
.m-compact #chat li:nth-last-child(n+5) { display: none; }
