/* CSZEUS chat: separate header/body rows, independent of nickname length. */
body.zeus-site .cs-chat-panel{border-radius:10px;overflow:hidden}
body.zeus-site .cs-chat-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
body.zeus-site .cs-chat-heading .cs-chat-caption{font:400 12px/1.5 Arial,sans-serif;color:#a5b39a;letter-spacing:.2px}
body.zeus-site #chat :is(#chat_messages,#messages){height:340px!important;max-height:60vh;padding:4px 10px 4px 0;scrollbar-width:thin;scrollbar-color:#68754a #141b13;overscroll-behavior:contain}
body.zeus-site #chat :is(#chat_messages,#messages) .cs-chat-message{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:start;gap:12px;padding:13px;margin:0 0 9px;border:1px solid #36422e;border-radius:9px;background:#20281c;overflow:visible;box-sizing:border-box}
body.zeus-site #chat :is(#chat_messages,#messages) .cs-chat-message:last-of-type{margin-bottom:0}
body.zeus-site #chat :is(#chat_messages,#messages) .cs-chat-avatar{display:block;width:42px;height:42px;align-self:start}
body.zeus-site #chat :is(#chat_messages,#messages) .cs-chat-avatar img{display:block;float:none;width:42px;height:42px;margin:0;border:1px solid #536140;border-radius:10px;object-fit:cover;background:#151d13}
body.zeus-site #chat :is(#chat_messages,#messages) .cs-chat-message .message{display:block;min-width:0;overflow:visible;font-size:14px;line-height:1.6}
body.zeus-site #chat :is(#chat_messages,#messages) .cs-chat-message .info{display:flex;flex-wrap:wrap;align-items:center;gap:5px 9px;height:auto;min-height:22px;margin:0 0 5px;padding:0}
body.zeus-site #chat :is(#chat_messages,#messages) .cs-chat-message .info .author{float:none;min-width:0;flex:1 1 100px;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
body.zeus-site #chat :is(#chat_messages,#messages) .cs-chat-message .info .date{float:none;position:static;flex:0 0 auto;margin:0;font-size:11px;line-height:1.5;color:#a7b39b;font-variant-numeric:tabular-nums}
body.zeus-site #chat :is(#chat_messages,#messages) .cs-chat-message .info .dell_message,body.zeus-site #chat :is(#chat_messages,#messages) .cs-chat-message .info .edit_message{position:static;display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;padding:0;border:1px solid #4b573e;border-radius:5px;color:#d5c28e;background:#192115;flex:0 0 auto}
body.zeus-site #chat :is(#chat_messages,#messages) .cs-chat-body{clear:both;float:none;width:100%;max-width:100%;margin:0;padding:0;overflow-wrap:anywhere;word-break:normal;color:#e0e5d6;line-height:1.65}
body.zeus-site #chat :is(#chat_messages,#messages) .cs-chat-body p{margin:0 0 6px}
body.zeus-site #chat :is(#chat_messages,#messages) .cs-chat-body p:last-child{margin-bottom:0}
body.zeus-site #chat :is(#chat_messages,#messages) .cs-chat-body img{max-width:min(100%,300px);height:auto;vertical-align:middle;border-radius:6px}
body.zeus-site #chat :is(#chat_messages,#messages) .cs-chat-body img.g_smile{display:inline-block;width:27px;height:27px;margin:1px 3px;object-fit:contain;border:0;border-radius:0}
body.zeus-site #chat :is(#chat_messages,#messages) .cs-chat-body img.g_sticker{display:block;width:auto;height:auto;max-width:min(100%,156px);max-height:156px;object-fit:contain;margin:5px 0 0;border:0;border-radius:0}
body.zeus-site #chat :is(#chat_messages,#messages) .cs-chat-message textarea{width:100%;min-height:70px;margin:6px 0 0}
body.zeus-site #chat .cs-chat-compose{display:flex;flex-wrap:nowrap;align-items:stretch;gap:10px;margin-top:16px!important;padding-top:16px;border-top:1px solid #39452f}
body.zeus-site #chat .cs-chat-compose .smile_input{display:flex;align-items:stretch;flex:1 1 0;min-width:0;width:auto;gap:7px}
body.zeus-site #chat .cs-chat-compose #message_input{min-width:0;width:100%;height:46px;min-height:46px;margin:0;padding:10px 13px;border-radius:7px;background:#131b13;border:1px solid #46533b;color:#e5e8dc}
body.zeus-site #chat .cs-chat-compose #message_input:focus{border-color:#dfb354;box-shadow:0 0 0 2px #dfb35420}
body.zeus-site #chat .cs-chat-compose #smile_btn{position:static;display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;width:auto;min-width:46px;height:46px;margin:0;padding:0 12px;border:1px solid #5b6441;border-radius:7px;background:#2a321f;line-height:1;transform:none;color:#ecc76f}
body.zeus-site #chat .cs-chat-compose #smile_btn:after{position:static;order:-1;color:#ecc76f;font-size:20px}
body.zeus-site .cs-chat-emoji-label{font:600 12px Arial,sans-serif}
body.zeus-site #chat .cs-chat-compose .input-group-btn{display:flex;flex:0 0 auto}
body.zeus-site #chat .cs-chat-compose #send_button{width:auto;height:46px;min-height:46px;margin:0;padding:0 20px;border-radius:7px;background:#e9bb5d;border:1px solid #e9bb5d;color:#171a10;font-weight:700}
body.zeus-site #chat #smile_btn:hover,body.zeus-site #chat #smile_btn:focus-visible{background:#364128;border-color:#dfb354;outline:2px solid #dfb35455;outline-offset:2px}
body.zeus-site .cs-chat-guest{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:16px;padding-top:15px;border-top:1px solid #39452f;color:#bac5ad;font-size:13px}
body.zeus-site .cs-chat-guest .cs-chat-login{padding:9px 15px;border:1px solid #665d36;background:#2c311f;color:#eed08a;border-radius:6px;min-height:38px;font-size:12px}
/* The existing smile/sticker picker is shared with the forum. */
body.zeus-site .popover:has(.smiles_box){max-width:calc(100vw - 24px);border:1px solid #66734d;border-radius:10px;background:#1c2519;box-shadow:0 12px 36px #0008}
body.zeus-site .popover:has(.smiles_box) .popover-body{padding:10px;color:#e0e5d6;background:#1c2519;border-radius:10px}
body.zeus-site .popover .smiles_box{width:260px;max-width:calc(100vw - 48px);height:250px;max-height:45vh;padding:2px;scrollbar-width:thin;scrollbar-color:#68754a #141b13}
body.zeus-site .popover .smiles_box .smile{box-sizing:content-box;width:27px;height:27px;padding:5px;margin:2px;border-radius:7px;object-fit:contain;transition:background .12s}
body.zeus-site .popover .smiles_box .sticker{width:68px;height:68px;padding:4px;margin:5px;border-radius:8px;object-fit:contain}
body.zeus-site .popover .smiles_box img:hover{background:#3a472c;outline:1px solid #8b8451}
body.zeus-site .popover .smiles_panel{border-top:1px solid #475539;padding-top:8px;margin-top:8px}
body.zeus-site .popover .smiles_panel .btn,body.zeus-site .popover .smilebtn{background:#2b3622;color:#e7ce8d;border-color:#576443;border-radius:5px}
@media(max-width:575px){body.zeus-site .cs-chat-panel{padding:15px}body.zeus-site .cs-chat-heading{gap:4px;margin-bottom:12px}body.zeus-site .cs-chat-heading .cs-chat-caption{font-size:11px}body.zeus-site #chat :is(#chat_messages,#messages){height:350px!important;max-height:58vh;padding-right:6px}body.zeus-site #chat :is(#chat_messages,#messages) .cs-chat-message{grid-template-columns:32px minmax(0,1fr);gap:9px;padding:10px}body.zeus-site #chat :is(#chat_messages,#messages) .cs-chat-avatar,body.zeus-site #chat :is(#chat_messages,#messages) .cs-chat-avatar img{width:32px;height:32px;border-radius:8px}body.zeus-site #chat :is(#chat_messages,#messages) .cs-chat-message .message{font-size:13px}body.zeus-site #chat :is(#chat_messages,#messages) .cs-chat-message .info .author{font-size:12px;flex-basis:80px}body.zeus-site #chat :is(#chat_messages,#messages) .cs-chat-message .info .date{font-size:10px}body.zeus-site #chat .cs-chat-compose{flex-wrap:wrap;gap:8px}body.zeus-site #chat .cs-chat-compose .smile_input{flex-basis:100%}body.zeus-site #chat .cs-chat-compose .input-group-btn,body.zeus-site #chat .cs-chat-compose #send_button{width:100%}body.zeus-site #chat .cs-chat-compose #message_input{font-size:16px}body.zeus-site #chat .cs-chat-emoji-label{display:none}body.zeus-site #chat :is(#chat_messages,#messages) .cs-chat-body img.g_sticker{max-height:120px;max-width:min(100%,120px)}}

body.zeus-site .cs-chat-heading>span:first-child{font:inherit;color:#eee9da;letter-spacing:.4px}

body.zeus-site #chat .cs-chat-compose #smile_btn{filter:none!important;-webkit-appearance:none;appearance:none}
