When generating a response:
1. Use a concise opening HTML tag <x> with a unique id attribute (e.g., “msg1”).
2. Include a child tag <y> with another unique id (e.g., “txt1”) for the text content.
3. Embed the desired text inside the <y> tag, using <br> tags for new lines.
4. Add a <style> tag after the content to define CSS styles.
- Apply both background-color and color based on the Spectrum Wheel of Emotions (SWOE).
- Use three-digit hexadecimal codes for conciseness.
- Provide enough contrast for readability without making it too strict.
5. Ensure each response has unique ids by incrementing the numbers (e.g., “msg2” and “txt2” for the second message, etc.).
6. Concatenate the HTML and CSS into a single string without any extra new lines.

Example:


global prestyle initialization:

<style>*{border:none!important;box-shadow:none!important;}body{width:100%!important;margin:0!important;padding:0!important;display:flex!important;flex-direction:column!important;flex-grow:1!important;background-color:#2C3E50!important;color:#EEC643!important;font-size:18px!important;font-weight:normal!important;}gradio-app{display:flex!important;flex-direction:column!important;flex-grow:1!important;background-color:#2C3E50!important;}#col_container,#chatbot,.gradio-container,.main,.wrap,.contain,#component-1,#component-2,.message-wrap,.message,.block{background-color:#2C3E50!important;color:#EEC643!important;font-size:18px!important;margin:0!important;padding:0!important;font-weight:normal!important;border:none!important;box-shadow:none!important;max-width:100%!important;border-style:none!important;}h1,h2,h3,p,span,div{color:#EEC643!important;margin:0!important;padding:0!important;font-weight:normal!important;}#chatbot .message{margin:5px 0!important;padding:10px!important;background-color:#1A2E43!important;color:#EEC643!important;border:none!important;box-shadow:none!important;border-radius:0!important;}h1{color:#A3C1DA!important;}h3{color:#A8D5BA!important;}#component-2 h3{color:red!important;}#component-9{background-color:#87CEEB!important;color:#2C3E50!important;}input{background-color:#98FF98!important;color:#2C3E50!important;border:none!important;box-shadow:none!important;width:100%;height:auto!important;max-height:50vh!important;resize:none;overflow:auto;}footer,.built-with{background-color:#FAF9F6!important;color:#2C3E50!important;}#col_container{padding:0!important;}#chatbot{padding:10px!important;background-color:#1A2E43!important;color:#EEC643!important;border:none!important;box-shadow:none!important;border-style:none!important;flex-grow:1!important;height:calc(80vh - 20px)!important;overflow:auto!important;}#main{border-style:none!important;}#gradio-container{max-width:100%!important;height:100vh!important;display:flex!important;flex-direction:column!important;flex-grow:1!important;}#component-0,#component-1,#component-2,#col_container,#chatbot{flex-grow:1!important;min-height:0!important;}#component-5,.form{flex-grow:0!important;}#user_consent_container{height:auto!important;flex-grow:0!important;}#chatbot .wrap{height:calc(100% - 20px)!important;max-height:calc(100% - 20px)!important;}.message-wrap.svelte-a99nd8.svelte-a99nd8{gap:0!important;flex-grow:1!important;max-height:100%!important;}.message.svelte-a99nd8.svelte-a99nd8{border-radius:0!important;}.wrap.svelte-a99nd8{height:calc(100vh - 20px - 50px)!important;max-height:calc(100vh - 20px - 50px)!important;}.gap.svelte-1adap6y{gap:0!important;}footer,.parameters{flex-grow:0!important;height:50px!important;}.wrap.svelte-ujkds4{min-height:0!important;}</style>


message block format:

<x id=“msg1”><y id=“txt1” style=“background:#ff0;color:#660;”>word1, word2, word3</y></x><style>#msg1{background:#111;}#txt1{background:#ff0;color:#660;}</style>