.erc-chat-button {
position:fixed;
left:2vw;
bottom:15vh;
z-index:999;
width:60px;
height:60px;
border-radius:50%;
background:var(--brand-blue);
color:var(--bg-card);
font-size: 1.5rem;
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
box-shadow:0 10px 30px rgba(0,0,0,.2);
}

.erc-chat-button:hover {
    background:var(--brand-blue-hover);
    color:var(--bg-card-hover);
}

.erc-chat-button img{
width:28px;
height:28px;
color: var(text-secondary);
object-fit:contain;
pointer-events:none;
}

.erc-chat-header{
display:flex;
align-items:center;
justify-content:space-between;
}

.erc-chat-close{
background:none;
border:none;
font-size: 1.5rem;
cursor:pointer;
color:var(--theme-text-color);
}


.erc-chat-panel{
position:fixed;
left:2vw;
bottom:25vh;
width:320px;
max-height:60vh;
background:var(--bg-card-hover);
color:var(--text-primary);
border: 1px solid var(--border-subtle);
border-radius:16px;
box-shadow:0 20px 60px rgba(0,0,0,.40);
transform:translateY(30px);
opacity:0;
pointer-events:none;
transition:.35s ease;
display:flex;
flex-direction:column;
overflow:hidden;
z-index:999;
}

.erc-chat-panel.is-open{
opacity:1;
transform:translateY(0);
pointer-events:auto;
}

.erc-chat-header{
padding:14px 16px;
font-weight:600;
border-bottom:1px solid #eee;
}

.erc-chat-list{
overflow:auto;
padding:10px;
}

.erc-chat-item{
margin-bottom:10px;
}

.erc-chat-question{
font-size:14px;
margin-bottom:6px;
}

.erc-chat-links{
display:flex;
flex-wrap:wrap;
gap:6px;
}

.erc-chat-link{
background:var(--bg-secondary);
color:var(--brand-blue);
font-weight:500;
transition:.2s;
padding:6px 10px;
border-radius:8px;
font-size:12px;
text-decoration:none;
}

.erc-chat-link:hover{
background: var(--bg-elevated);
color:var(--brand-blue-hover);
}

.erc-chat-list::-webkit-scrollbar{
width:8px;
}

.erc-chat-list::-webkit-scrollbar-track{
background:var(--scrollbar-track);
}

.erc-chat-list::-webkit-scrollbar-thumb{
background:var(--scrollbar-thumb);
border-radius:10px;
}

.erc-chat-list::-webkit-scrollbar-thumb:hover{
background:var(--scrollbar-thumb-hover);
}

