.wallet-chat-controls{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:18px 0}.wallet-chat-controls .sidebar-wallet{flex:1;min-width:0;width:auto;margin:0}.wallet-chat-controls .sidebar-wallet small{font-size:9px}
.general-chat-toggle{display:none;align-items:center;justify-content:center;flex:none;width:100%;height:42px;gap:9px;box-sizing:border-box;padding:7px;border:1px solid #52755f;border-radius:12px;background:#1c392a;color:#b9efd0;cursor:pointer}
body:not(.auth-gated) .general-chat-toggle{display:inline-flex;justify-content:flex-start}
.general-chat-label{font:600 14px/1.2 system-ui,sans-serif}
.general-chat-toggle{position:relative}.general-chat-unread{display:block;position:absolute;right:5px;top:5px;width:8px;height:8px;border-radius:50%;background:#e64153;box-shadow:0 0 0 2px #1c392a}.general-chat-unread[hidden]{display:none!important}
.general-chat-dialog{box-sizing:border-box;width:min(460px,calc(100vw - 20px));height:min(640px,calc(100dvh - 28px));max-height:calc(100dvh - 28px);padding:16px;border:1px solid #83956b;border-radius:18px;background:#12241a;color:#e2f0e7;overflow:hidden}
.general-chat-dialog[open]{display:flex;flex-direction:column;gap:10px}
.general-chat-dialog::backdrop{background:#020b08b8;backdrop-filter:blur(4px)}
.general-chat-dialog header{display:flex;align-items:center;justify-content:space-between;gap:10px}.general-chat-dialog h2{margin:0;font-size:20px}.general-chat-dialog button{min-height:40px;padding:7px 12px;border:1px solid #4d6a56;border-radius:9px;background:#284d38;color:#eff5ef;cursor:pointer}.general-chat-dialog [data-chat-close]{font-size:24px;background:transparent;border:0}.general-chat-dialog [hidden]{display:none!important}
.general-chat-list{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:4px;scrollbar-width:thin}.general-chat-list article{max-width:94%;margin:0 0 10px;padding:9px 11px;border:1px solid #324c3b;border-radius:12px;background:#1b3225;overflow-wrap:anywhere}.general-chat-list article.is-own{margin-left:auto;background:#284b37;border-color:#4a7055}.general-chat-list strong{font-size:12px;color:#ffe0a0}.general-chat-list time{margin-left:9px;font-size:10px;color:#acbfb1}.general-chat-list p{font-size:14px;line-height:1.45;white-space:pre-wrap;margin:5px 0 0}.general-chat-dialog [data-chat-status]{margin:0;font-size:12px;color:#c7d5c9}.general-chat-dialog form{display:flex;gap:8px;align-items:end;margin:0}.general-chat-dialog textarea{box-sizing:border-box;resize:none;flex:1;min-width:0;max-height:120px;padding:9px;border:1px solid #55715d;border-radius:10px;background:#0d1d14;color:#eef6f0;font:16px/1.3 system-ui,sans-serif}.general-chat-dialog :focus-visible{outline:2px solid #ffe2a0;outline-offset:2px}.general-chat-dialog button:disabled{opacity:.5;cursor:wait}
@media(max-width:980px){body .sidebar .brand{margin-right:auto}body .sidebar{gap:8px}.sidebar .general-chat-toggle{width:38px;height:38px;justify-content:center}.sidebar .general-chat-label{display:none}.sidebar .wallet-chat-controls{flex-direction:row;align-items:center;margin:0;flex:none;max-width:65%}.sidebar .wallet-chat-controls .sidebar-wallet{max-width:none;flex-shrink:1}}
